]> git.saurik.com Git - wxWidgets.git/commitdiff
Fixed typo.
authorStefan Neis <Stefan.Neis@t-online.de>
Fri, 3 Oct 2003 17:01:06 +0000 (17:01 +0000)
committerStefan Neis <Stefan.Neis@t-online.de>
Fri, 3 Oct 2003 17:01:06 +0000 (17:01 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24071 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/os2/button.cpp

index 397ee99edaaa70bedd6871c5e89739d536aa8387..c47b6dce3238619770aeb192b2c70dc780b6b7df 100644 (file)
@@ -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);