override MSWGetDefaultBgBrush() to use transparent brush

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30970 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2004-12-12 19:47:01 +00:00
parent d34e375c9c
commit 7af99268d4
2 changed files with 6 additions and 1 deletions

View File

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