From e7d70ef0e33c1dfddd42a9d9383dd1ec2e2a9a77 Mon Sep 17 00:00:00 2001 From: Stefan Neis Date: Thu, 4 Mar 2004 00:16:56 +0000 Subject: [PATCH 1/1] Fixed error in moving code from app.cpp in evtloop.cpp - caused accelerator 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 | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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 -- 2.45.2