X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/08e5319b03f80c8554a49c1ef4c9d2adaa8587ce..0bb84570cea789202aa26409a4879202a9810b70:/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()