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:
parent
6ffc9aa8a4
commit
ddfcd9aae4
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user