Fixed ambiguity with bitwise operators

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55598 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Jaakko Salli 2008-09-14 09:02:26 +00:00
parent 4a84bb72a4
commit ac5760384a

View 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;
}