X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/3d9431bf7e69b8f4752435b9750e13064a4a01cb..80d895cd3f624f28424cc45b9b516bf439da9c19:/src/motif/app.cpp diff --git a/src/motif/app.cpp b/src/motif/app.cpp index e3c8bb71a9..72ab9cb7b2 100644 --- a/src/motif/app.cpp +++ b/src/motif/app.cpp @@ -352,11 +352,17 @@ void wxApp::ProcessXEvent(WXEvent* _event) // accelerator. return; } +#if 1 + // It seemed before that this hack was redundant and + // key down events were being generated by wxCanvasInputEvent. + // But no longer - why ??? + // else if (CheckForKeyDown(_event)) { // We intercepted and processed the key down event return; } +#endif else { XtDispatchEvent(event); @@ -365,6 +371,8 @@ void wxApp::ProcessXEvent(WXEvent* _event) } else if (event->type == KeyRelease) { + // TODO: work out why we still need this ! -michael + // if (CheckForKeyUp(_event)) { // We intercepted and processed the key up event