]> git.saurik.com Git - wxWidgets.git/commitdiff
Minor fix to app
authorDavid Webster <Dave.Webster@bhmi.com>
Fri, 18 Aug 2000 16:45:45 +0000 (16:45 +0000)
committerDavid Webster <Dave.Webster@bhmi.com>
Fri, 18 Aug 2000 16:45:45 +0000 (16:45 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8131 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/os2/app.cpp

index 07765bb94c3aec8e6559717c1c08815cbf25298e..46dc757d507ae1a6da37fb339ab2e72bc7bf5d1e 100644 (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