X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/041ae20237321e764412e289c5b677479d923ac4..2cfcf22d47b7d9cf3c85edfe498c5f23a18a9a19:/src/univ/button.cpp

diff --git a/src/univ/button.cpp b/src/univ/button.cpp
index b70394dc5c..f41f45b6e6 100644
--- a/src/univ/button.cpp
+++ b/src/univ/button.cpp
@@ -17,10 +17,6 @@
 // headers
 // ----------------------------------------------------------------------------
 
-#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
-    #pragma implementation "univbutton.h"
-#endif
-
 #include "wx/wxprec.h"
 
 #ifdef __BORLANDC__
@@ -81,7 +77,7 @@ bool wxButton::Create(wxWindow *parent,
     if (label.empty() && wxIsStockID(id))
         label = wxGetStockLabel(id);
 
-    long ctrl_style = style & !wxBU_ALIGN_MASK;
+    long ctrl_style = style & ~wxBU_ALIGN_MASK;
 
     wxASSERT_MSG( (ctrl_style & wxALIGN_MASK) == 0,
                   _T("Some style conflicts with align flags") );