]> git.saurik.com Git - wxWidgets.git/commitdiff
Don't pass wxALIGN_ flags to wxButton
authorJulian Smart <julian@anthemion.co.uk>
Wed, 18 Jan 2006 09:16:59 +0000 (09:16 +0000)
committerJulian Smart <julian@anthemion.co.uk>
Wed, 18 Jan 2006 09:16:59 +0000 (09:16 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36945 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

samples/widgets/button.cpp

index 4a17b65be1d21ad794c65e1eefb4d0edc302a05c..4023441785eb725ffb7629ecad3c4db3a8dcc73e 100644 (file)
@@ -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: