diff --git a/src/os2/button.cpp b/src/os2/button.cpp index 4a4f720732..9ad62df37a 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);