X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/1a75e76f399bc91b3f841e7f77140e83f9bd5958..28e5e577e4d26332a7ebdf7d1dc7492807fa1601:/src/os2/button.cpp diff --git a/src/os2/button.cpp b/src/os2/button.cpp index 61b0d68fa4..c47b6dce32 100644 --- a/src/os2/button.cpp +++ b/src/os2/button.cpp @@ -47,9 +47,7 @@ bool wxButton::Create( , const wxPoint& rPos , const wxSize& rSize , long lStyle -#if wxUSE_VALIDATORS , const wxValidator& rValidator -#endif , const wxString& rsName ) { @@ -313,7 +311,7 @@ void wxButton::SetDefaultStyle( if ((lStyle & BS_USERBUTTON) != BS_USERBUTTON) { if (bOn) - lStyle | BS_DEFAULT; + lStyle |= BS_DEFAULT; else lStyle &= ~BS_DEFAULT; ::WinSetWindowULong(GetHwndOf(pBtn), QWL_STYLE, lStyle);