]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/gtk1/tglbtn.h
don't use a floating point value as a boolean flag; gcc4 (correctly) complains when...
[wxWidgets.git] / include / wx / gtk1 / tglbtn.h
index 8aa54343148bc815e079e7d26dac7acd78f14bbf..98e28f1210984abc75a7fb2552510ce39e6d0422 100644 (file)
@@ -63,7 +63,8 @@ public:
     bool GetValue() const;
 
     // Set the label
-    void SetLabel(const wxBitmap& label);
+    virtual void SetLabel(const wxString& label) { wxControl::SetLabel(label); }
+    virtual void SetLabel(const wxBitmap& label);
     bool Enable(bool enable = TRUE);
 
     static wxVisualAttributes