]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/motif/tglbtn.h
avoid GCC warning about type-punned pointer breaking strict aliasing rules
[wxWidgets.git] / include / wx / motif / tglbtn.h
index d6cdadd00938b6247448f8ec3e6e130fdcb4d5b3..0fd827b953934f8621306bbf2d0f844a5dd883e3 100644 (file)
@@ -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)