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:
@@ -50,9 +50,9 @@ public:
|
|||||||
|
|
||||||
protected:
|
protected:
|
||||||
virtual wxSize DoGetBestSize() const;
|
virtual wxSize DoGetBestSize() const;
|
||||||
|
virtual WXHBRUSH MSWGetDefaultBgBrush();
|
||||||
|
|
||||||
virtual void DoSet3StateValue(wxCheckBoxState value);
|
virtual void DoSet3StateValue(wxCheckBoxState value);
|
||||||
|
|
||||||
virtual wxCheckBoxState DoGet3StateValue() const;
|
virtual wxCheckBoxState DoGet3StateValue() const;
|
||||||
|
|
||||||
private:
|
private:
|
||||||
|
@@ -201,6 +201,11 @@ wxSize wxCheckBox::DoGetBestSize() const
|
|||||||
return wxSize(wCheckbox, hCheckbox);
|
return wxSize(wCheckbox, hCheckbox);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
WXHBRUSH wxCheckBox::MSWGetDefaultBgBrush()
|
||||||
|
{
|
||||||
|
return ::GetStockObject(NULL_BRUSH);
|
||||||
|
}
|
||||||
|
|
||||||
void wxCheckBox::SetValue(bool val)
|
void wxCheckBox::SetValue(bool val)
|
||||||
{
|
{
|
||||||
if (val)
|
if (val)
|
||||||
|
Reference in New Issue
Block a user