X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/598dc9b7779271df770ccbe0377a0f9e15816583..13de0c8c9b6b3d2e8ce5a21388f5f104b2f68338:/src/os2/evtloop.cpp diff --git a/src/os2/evtloop.cpp b/src/os2/evtloop.cpp index 8ca8d5c0c0..4e3a117288 100644 --- a/src/os2/evtloop.cpp +++ b/src/os2/evtloop.cpp @@ -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