Don't pass wxALIGN_ flags to wxButton
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36945 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -341,7 +341,7 @@ void ButtonWidgetsPage::CreateButton()
|
||||
// fall through
|
||||
|
||||
case ButtonVAlign_Centre:
|
||||
flags |= wxALIGN_CENTRE_VERTICAL;
|
||||
// centre vertical alignment is the default (no style)
|
||||
break;
|
||||
|
||||
case ButtonVAlign_Bottom:
|
||||
|
Reference in New Issue
Block a user