X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/041ae20237321e764412e289c5b677479d923ac4..1d731fcdb9ff2238754fdb40914ece2459d94ccb:/src/univ/button.cpp?ds=sidebyside 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") );