X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/706fb8932a673a19d7c247d177b49691732b9bd4..1191c93ebc356c379a6c20c0214b3a14562cfbdf:/include/wx/msw/tglbtn.h diff --git a/include/wx/msw/tglbtn.h b/include/wx/msw/tglbtn.h index 41063456c6..a6dc795486 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,11 @@ public: virtual bool MSWCommand(WXUINT param, WXWORD id); virtual void Command(wxCommandEvent& event); + virtual WXDWORD MSWGetStyle(long flags, WXDWORD *exstyle = NULL) const; 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)