From: Vadim Zeitlin Date: Tue, 6 Dec 2005 12:33:24 +0000 (+0000) Subject: fixed typo in previous commit which, instead of fixing the bug in wxSizerflags::Align... X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/6ffc9aa8a44613f4674cbfacae3e4f140ca6fd90 fixed typo in previous commit which, instead of fixing the bug in wxSizerflags::Align(), made it worse git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36344 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/include/wx/sizer.h b/include/wx/sizer.h index 4593844fdb..7303a647e4 100644 --- a/include/wx/sizer.h +++ b/include/wx/sizer.h @@ -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;