]> git.saurik.com Git - wxWidgets.git/commitdiff
Fixed error in moving code from app.cpp in evtloop.cpp - caused accelerator
authorStefan Neis <Stefan.Neis@t-online.de>
Thu, 4 Mar 2004 00:16:56 +0000 (00:16 +0000)
committerStefan Neis <Stefan.Neis@t-online.de>
Thu, 4 Mar 2004 00:16:56 +0000 (00:16 +0000)
        handling to be broken, now fixed again.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26078 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/os2/evtloop.cpp

index 8ca8d5c0c02d5406b1b0ec45e093136bd0a87a07..4e3a1172889f9836db0e62aaaae58debab16891e 100644 (file)
@@ -191,8 +191,7 @@ bool wxEventLoopImpl::PreProcessMessage(QMSG *pMsg)
            for(pWnd = pWndThis; pWnd; pWnd = pWnd->GetParent() )
            {
                if((bRc = pWnd->OS2TranslateMessage((WXMSG*)pMsg)) == TRUE)
-                  return TRUE;
-              //  break;
+                   break;
            // stop at first top level window, i.e. don't try to process the
            // key strokes originating in a dialog using the accelerators of
            // the parent frame - this doesn't make much sense