]> git.saurik.com Git - wxWidgets.git/blobdiff - src/motif/app.cpp
PCX handler now working for reading (8bit and 24bit images).
[wxWidgets.git] / src / motif / app.cpp
index e3c8bb71a93641f2f2f7a5c0cbc4a71a740605b7..72ab9cb7b27d040ce1901ad2839b4e37461e0e33 100644 (file)
@@ -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