diff --git a/include/wx/tglbtn.h b/include/wx/tglbtn.h index 8cb2a2e891..dcc183ea1c 100644 --- a/include/wx/tglbtn.h +++ b/include/wx/tglbtn.h @@ -57,15 +57,7 @@ public: } } - // Buttons on MSW can look bad if they are not native colours, because - // then they become owner-drawn and not theme-drawn. Disable it here - // in wxToggleButtonBase to make it consistent. - virtual bool ShouldInheritColours() const { return false; } - protected: - // choose the default border for this window - virtual wxBorder GetDefaultBorder() const { return wxBORDER_NONE; } - wxDECLARE_NO_COPY_CLASS(wxToggleButtonBase); };