From 6ffc9aa8a44613f4674cbfacae3e4f140ca6fd90 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Tue, 6 Dec 2005 12:33:24 +0000 Subject: [PATCH] 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 --- include/wx/sizer.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;