Fixed typo.

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

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