]> git.saurik.com Git - wxWidgets.git/commitdiff
Fixed ambiguity with bitwise operators
authorJaakko Salli <jaakko.salli@dnainternet.net>
Sun, 14 Sep 2008 09:02:26 +0000 (09:02 +0000)
committerJaakko Salli <jaakko.salli@dnainternet.net>
Sun, 14 Sep 2008 09:02:26 +0000 (09:02 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55598 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/propgrid/propgrid.cpp

index f412d75de962ce010fba5a49cb0420e93525fb99..b6bcd320bc0d1e7b58e79e08ee55c6d94f0349f6 100644 (file)
@@ -3979,7 +3979,7 @@ bool wxPropertyGrid::DoCollapse( wxPGProperty* p, bool sendEvents )
     }
 
     // Clear dont-center-splitter flag if it wasn't set
-    m_iFlags = m_iFlags & ~(wxPG_FL_DONT_CENTER_SPLITTER) | old_flag;
+    m_iFlags = (m_iFlags & ~wxPG_FL_DONT_CENTER_SPLITTER) | old_flag;
 
     return res;
 }