]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/univ/tglbtn.h
remove default wxDC ctor to make it impossible to construct DCs without the associate...
[wxWidgets.git] / include / wx / univ / tglbtn.h
index 9b03805b5203775029c7633db749e67c9adc1f6f..8f78e3a7b86097753b639e6716383e92a3ebc5dd 100644 (file)
@@ -14,7 +14,7 @@
 
 #include "wx/button.h"
 
-extern WXDLLEXPORT_DATA(const wxChar) wxCheckBoxNameStr[];
+extern WXDLLEXPORT_DATA(const char) wxCheckBoxNameStr[];
 
 // ----------------------------------------------------------------------------
 // wxToggleButton: a push button
@@ -57,6 +57,8 @@ public:
     bool GetValue() const { return m_value; }
 
 protected:
+    virtual wxBorder GetDefaultBorder() const { return wxBORDER_NONE; }
+
     // the current value
     bool m_value;