X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/77ffb5937e89927b621128789401db8921fe580f..51623cc53f350935337e57930eaaf1afe9a48c3b:/include/wx/motif/tglbtn.h?ds=sidebyside diff --git a/include/wx/motif/tglbtn.h b/include/wx/motif/tglbtn.h index e472a40d25..b35aa1b5ce 100644 --- a/include/wx/motif/tglbtn.h +++ b/include/wx/motif/tglbtn.h @@ -7,7 +7,7 @@ // Created: 10.02.03 // RCS-ID: $Id$ // Copyright: (c) 2003 Mattia Barbon -// Licence: wxWidgets licence +// Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// #ifndef _WX_TOGGLEBUTTON_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()