X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/bc21780e18681dee05e032e16d15eba57dd4fcb4..cbeda384e51acb82e13994cb67ac1714669cae10:/include/wx/motif/tglbtn.h?ds=sidebyside diff --git a/include/wx/motif/tglbtn.h b/include/wx/motif/tglbtn.h index d6cdadd009..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,6 +37,10 @@ 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)