X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/02b7b6b072762ff1e02950109a751815ac7429fd..ed4eede6c2c16cdb422a39c1b3655956b8f51a1c:/src/msw/checkbox.cpp diff --git a/src/msw/checkbox.cpp b/src/msw/checkbox.cpp index 547e418e06..9e0897ed4e 100644 --- a/src/msw/checkbox.cpp +++ b/src/msw/checkbox.cpp @@ -201,6 +201,11 @@ wxSize wxCheckBox::DoGetBestSize() const return wxSize(wCheckbox, hCheckbox); } +WXHBRUSH wxCheckBox::MSWGetDefaultBgBrush() +{ + return ::GetStockObject(NULL_BRUSH); +} + void wxCheckBox::SetValue(bool val) { if (val) @@ -215,7 +220,7 @@ void wxCheckBox::SetValue(bool val) bool wxCheckBox::GetValue() const { - return (Get3StateValue() != 0); + return (Get3StateValue() != wxCHK_UNCHECKED); } void wxCheckBox::Command(wxCommandEvent& event)