Fixed typo.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@24071 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Stefan Neis
2003-10-03 17:01:06 +00:00
parent 57ea01710d
commit ab3bb59297

View 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);