]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/appcmn.cpp
save the current status text for each pane inside wxStatusBarPane: native controls...
[wxWidgets.git] / src / common / appcmn.cpp
index 95da92def714e2316dd39e54cadf551fb62e35d8..f70be7b5add6a464df6e0d20731ddff6dd1d6dbe 100644 (file)
@@ -328,7 +328,7 @@ void wxAppBase::SetActive(bool active, wxWindow * WXUNUSED(lastFocus))
 
 bool wxAppBase::IsEventAllowedInsideYield(wxEventCategory cat) const
 {
-    return m_eventsToProcessInsideYield & cat;
+    return (m_eventsToProcessInsideYield & cat) != 0;
 }
 
 bool wxAppBase::SafeYield(wxWindow *win, bool onlyIfNeeded)