]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/motif/tglbtn.h
Implement support for wxRIBBON_PANEL_EXT_BUTTON wxRibbonPanel style.
[wxWidgets.git] / include / wx / motif / tglbtn.h
index d6cdadd00938b6247448f8ec3e6e130fdcb4d5b3..b35aa1b5cece6bd0e327bdc50c71df62b62dbf7d 100644 (file)
@@ -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)