X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/a047aff270905b377a81657a90f92eb3297157d0..15f7c30516facfb272fc116aec4d3f9c3a9de085:/include/wx/msw/tglbtn.h diff --git a/include/wx/msw/tglbtn.h b/include/wx/msw/tglbtn.h index 9c3ef03c93..a042b9e83b 100644 --- a/include/wx/msw/tglbtn.h +++ b/include/wx/msw/tglbtn.h @@ -13,10 +13,10 @@ #ifndef _WX_TOGGLEBUTTON_H_ #define _WX_TOGGLEBUTTON_H_ -extern WXDLLEXPORT_DATA(const wxChar) wxCheckBoxNameStr[]; +extern WXDLLEXPORT_DATA(const char) wxCheckBoxNameStr[]; // Checkbox item (single checkbox) -class WXDLLEXPORT wxToggleButton : public wxControl +class WXDLLEXPORT wxToggleButton : public wxToggleButtonBase { public: wxToggleButton() {} @@ -52,8 +52,8 @@ public: virtual bool CanApplyThemeBorder() const { return false; } protected: + virtual wxBorder GetDefaultBorder() const { return wxBORDER_NONE; } virtual wxSize DoGetBestSize() const; - virtual wxBorder GetDefaultBorder() const; private: DECLARE_DYNAMIC_CLASS_NO_COPY(wxToggleButton)