X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/a0b575116060526bf26554a2fe5d29ec2c0bc693..2780d31b74cd415150d080ca9fe9c29428073587:/include/wx/msw/tglbtn.h diff --git a/include/wx/msw/tglbtn.h b/include/wx/msw/tglbtn.h index a042b9e83b..63dc148dfa 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 char) wxCheckBoxNameStr[]; +extern WXDLLIMPEXP_DATA_CORE(const char) wxCheckBoxNameStr[]; // Checkbox item (single checkbox) -class WXDLLEXPORT wxToggleButton : public wxToggleButtonBase +class WXDLLIMPEXP_CORE wxToggleButton : public wxToggleButtonBase { public: wxToggleButton() {} @@ -44,9 +44,10 @@ public: virtual void SetValue(bool value); virtual bool GetValue() const ; + virtual void SetLabel(const wxString& label); + 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; } @@ -55,6 +56,8 @@ protected: virtual wxBorder GetDefaultBorder() const { return wxBORDER_NONE; } virtual wxSize DoGetBestSize() const; + virtual WXDWORD MSWGetStyle(long flags, WXDWORD *exstyle = NULL) const; + private: DECLARE_DYNAMIC_CLASS_NO_COPY(wxToggleButton) };