X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/f9eee2db810695ae4417e9935475f268bb68bbac..9c54e4ae1f401a9c337b97b588e5a356d79cbe82:/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);