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
This commit is contained in:
@@ -54,7 +54,7 @@ public:
|
|||||||
|
|
||||||
wxSizerFlags& Align(int alignment) // combination of wxAlignment values
|
wxSizerFlags& Align(int alignment) // combination of wxAlignment values
|
||||||
{
|
{
|
||||||
m_flags &= wxALIGN_MASK;
|
m_flags &= !wxALIGN_MASK;
|
||||||
m_flags |= alignment;
|
m_flags |= alignment;
|
||||||
|
|
||||||
return *this;
|
return *this;
|
||||||
|
Reference in New Issue
Block a user