]> git.saurik.com Git - wxWidgets.git/commitdiff
if'd out CheckForKeyDown call that doesn't seem to be necessary now (but we still...
authorMichael Bedward <mbedward@ozemail.com.au>
Thu, 12 Aug 1999 08:51:45 +0000 (08:51 +0000)
committerMichael Bedward <mbedward@ozemail.com.au>
Thu, 12 Aug 1999 08:51:45 +0000 (08:51 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3352 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/motif/app.cpp

index e3c8bb71a93641f2f2f7a5c0cbc4a71a740605b7..6cf5ad773d68b7a2419f9546d7619c6b6112736a 100644 (file)
@@ -352,11 +352,13 @@ void wxApp::ProcessXEvent(WXEvent* _event)
             // accelerator.
             return;
        }
             // accelerator.
             return;
        }
+#if 0 // this isn't necessary anymore ??? -michael
        else if (CheckForKeyDown(_event))
        {
             // We intercepted and processed the key down event
             return;
        }
        else if (CheckForKeyDown(_event))
        {
             // We intercepted and processed the key down event
             return;
        }
+#endif        
        else
        {
             XtDispatchEvent(event);
        else
        {
             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))
        {
            // We intercepted and processed the key up event
         if (CheckForKeyUp(_event))
        {
            // We intercepted and processed the key up event