use new inline function

This commit is contained in:
dickelbeck 2007-08-01 16:22:08 +00:00
parent 8035f1a520
commit ad1dcd1bc7
1 changed files with 1 additions and 1 deletions

View File

@ -882,7 +882,7 @@ void WinEDA_DrawPanel::OnKeyEvent(wxKeyEvent& event)
long key, localkey;
bool escape = FALSE;
key = localkey = event.m_keyCode;
key = localkey = event.GetKeyCode();
switch( localkey )
{