if'd out CheckForKeyDown call that doesn't seem to be necessary now (but we still need CheckForKeyUp() - why???

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3352 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Michael Bedward
1999-08-12 08:51:45 +00:00
parent d2befda32f
commit 364c7f3c68

View File

@@ -352,11 +352,13 @@ void wxApp::ProcessXEvent(WXEvent* _event)
// accelerator. // accelerator.
return; return;
} }
#if 0 // this isn't necessary anymore ??? -michael
else if (CheckForKeyDown(_event)) else if (CheckForKeyDown(_event))
{ {
// We intercepted and processed the key down event // We intercepted and processed the key down event
return; return;
} }
#endif
else else
{ {
XtDispatchEvent(event); XtDispatchEvent(event);
@@ -365,6 +367,8 @@ void wxApp::ProcessXEvent(WXEvent* _event)
} }
else if (event->type == KeyRelease) else if (event->type == KeyRelease)
{ {
// TODO: work out why we still need this ! -michael
//
if (CheckForKeyUp(_event)) if (CheckForKeyUp(_event))
{ {
// We intercepted and processed the key up event // We intercepted and processed the key up event