X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/655719367ac5e131d9642e5783f3ecf64d1a3385..dca0afc73cbd2a278f9d48bf75ef381b11b5aa00:/include/wx/motif/tglbtn.h diff --git a/include/wx/motif/tglbtn.h b/include/wx/motif/tglbtn.h index c67edba376..b35aa1b5ce 100644 --- a/include/wx/motif/tglbtn.h +++ b/include/wx/motif/tglbtn.h @@ -15,7 +15,7 @@ #include "wx/checkbox.h" -class WXDLLEXPORT wxToggleButton : public wxCheckBox +class WXDLLIMPEXP_CORE wxToggleButton : public wxCheckBox { public: wxToggleButton() { Init(); } @@ -37,8 +37,12 @@ public: long style = 0, const wxValidator& val = wxDefaultValidator, const wxString &name = wxCheckBoxNameStr ); + +protected: + virtual wxBorder GetDefaultBorder() const { return wxBORDER_NONE; } + private: - DECLARE_DYNAMIC_CLASS(wxToggleButton); + DECLARE_DYNAMIC_CLASS(wxToggleButton) // common part of all constructors void Init()