Minor fix to app

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8131 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
David Webster 2000-08-18 16:45:45 +00:00
parent 1a584f14bf
commit 3210d001bf

View File

@ -751,7 +751,7 @@ bool wxApp::ProcessMessage(
for(pWnd = pWndThis; pWnd; pWnd = pWnd->GetParent() )
{
if(pWnd->OS2TranslateMessage(pWxmsg))
if((bRc = pWnd->OS2TranslateMessage(pWxmsg)) == TRUE)
break;
}
if(!bRc) // untranslated, should restore original value