X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/3d9431bf7e69b8f4752435b9750e13064a4a01cb..4df78dc36e933fb1c3aa7c9d7ae2757a898ae05c:/src/motif/app.cpp?ds=sidebyside 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