X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/706fb8932a673a19d7c247d177b49691732b9bd4..472eec8a0391538e4dcf7f7c6c4f4d44c8383616:/include/wx/msw/tglbtn.h diff --git a/include/wx/msw/tglbtn.h b/include/wx/msw/tglbtn.h index 41063456c6..9c3ef03c93 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_ -WXDLLEXPORT_DATA(extern const wxChar*) wxCheckBoxNameStr; +extern WXDLLEXPORT_DATA(const wxChar) wxCheckBoxNameStr[]; // Checkbox item (single checkbox) class WXDLLEXPORT wxToggleButton : public wxControl @@ -46,11 +46,14 @@ public: virtual bool MSWCommand(WXUINT param, WXWORD id); 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 wxSize DoGetBestSize() const; virtual wxBorder GetDefaultBorder() const; - virtual WXDWORD MSWGetStyle(long flags, WXDWORD *exstyle = NULL) const; private: DECLARE_DYNAMIC_CLASS_NO_COPY(wxToggleButton)