fix binary math in alignment flag assignment

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36345 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
David Surovell 2005-12-06 16:34:30 +00:00
parent 6ffc9aa8a4
commit ddfcd9aae4

View File

@ -54,7 +54,7 @@ public:
wxSizerFlags& Align(int alignment) // combination of wxAlignment values
{
m_flags &= !wxALIGN_MASK;
m_flags &= ~wxALIGN_MASK;
m_flags |= alignment;
return *this;