]> git.saurik.com Git - wxWidgets.git/blobdiff - src/os2/evtloop.cpp
Separation of wxUSE_FILEDLG and wxUSE_DIRDLG in generic implementations.
[wxWidgets.git] / 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