X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/6f02a879ed7efc5fcf6328ff47a1352ec82812b7..9d5507f7a2701395e1d5c121bd877bb9066ee6ea:/include/wx/msw/tglbtn.h diff --git a/include/wx/msw/tglbtn.h b/include/wx/msw/tglbtn.h index a6dc795486..8680717340 100644 --- a/include/wx/msw/tglbtn.h +++ b/include/wx/msw/tglbtn.h @@ -13,7 +13,7 @@ #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 @@ -48,9 +48,12 @@ public: virtual void Command(wxCommandEvent& event); virtual WXDWORD MSWGetStyle(long flags, WXDWORD *exstyle = NULL) const; + // returns true if the platform should explicitly apply a theme border + 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)