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
This commit is contained in:
@@ -191,8 +191,7 @@ bool wxEventLoopImpl::PreProcessMessage(QMSG *pMsg)
|
|||||||
for(pWnd = pWndThis; pWnd; pWnd = pWnd->GetParent() )
|
for(pWnd = pWndThis; pWnd; pWnd = pWnd->GetParent() )
|
||||||
{
|
{
|
||||||
if((bRc = pWnd->OS2TranslateMessage((WXMSG*)pMsg)) == TRUE)
|
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
|
// stop at first top level window, i.e. don't try to process the
|
||||||
// key strokes originating in a dialog using the accelerators of
|
// key strokes originating in a dialog using the accelerators of
|
||||||
// the parent frame - this doesn't make much sense
|
// the parent frame - this doesn't make much sense
|
||||||
|
Reference in New Issue
Block a user