]> git.saurik.com Git - wxWidgets.git/blobdiff - samples/widgets/button.cpp
Added missing includes
[wxWidgets.git] / 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: