X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/f9eee2db810695ae4417e9935475f268bb68bbac..f8c10ed8b399f864a8ab7fafe4f73ae0365d4827:/src/os2/button.cpp diff --git a/src/os2/button.cpp b/src/os2/button.cpp index 397ee99eda..c47b6dce32 100644 --- a/src/os2/button.cpp +++ b/src/os2/button.cpp @@ -311,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);