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