use new inline function
This commit is contained in:
parent
8035f1a520
commit
ad1dcd1bc7
|
@ -882,7 +882,7 @@ void WinEDA_DrawPanel::OnKeyEvent(wxKeyEvent& event)
|
||||||
long key, localkey;
|
long key, localkey;
|
||||||
bool escape = FALSE;
|
bool escape = FALSE;
|
||||||
|
|
||||||
key = localkey = event.m_keyCode;
|
key = localkey = event.GetKeyCode();
|
||||||
|
|
||||||
switch( localkey )
|
switch( localkey )
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue