Commit ad1dcd1b authored by dickelbeck's avatar dickelbeck

use new inline function

parent 8035f1a5
...@@ -882,7 +882,7 @@ void WinEDA_DrawPanel::OnKeyEvent(wxKeyEvent& event) ...@@ -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 )
{ {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment