Fixed typo.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24071 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
7cdc9c61b3
commit
d00110f640
@ -311,7 +311,7 @@ void wxButton::SetDefaultStyle(
|
|||||||
if ((lStyle & BS_USERBUTTON) != BS_USERBUTTON)
|
if ((lStyle & BS_USERBUTTON) != BS_USERBUTTON)
|
||||||
{
|
{
|
||||||
if (bOn)
|
if (bOn)
|
||||||
lStyle | BS_DEFAULT;
|
lStyle |= BS_DEFAULT;
|
||||||
else
|
else
|
||||||
lStyle &= ~BS_DEFAULT;
|
lStyle &= ~BS_DEFAULT;
|
||||||
::WinSetWindowULong(GetHwndOf(pBtn), QWL_STYLE, lStyle);
|
::WinSetWindowULong(GetHwndOf(pBtn), QWL_STYLE, lStyle);
|
||||||
|
Loading…
Reference in New Issue
Block a user