X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/20123d495814b8b8543bf43fbd63aa7ec21e5d78..2c01d33555e3125057f4575ca7d0d2aba93f421f:/include/wx/gtk1/tglbtn.h diff --git a/include/wx/gtk1/tglbtn.h b/include/wx/gtk1/tglbtn.h index 8aa5434314..98e28f1210 100644 --- a/include/wx/gtk1/tglbtn.h +++ b/include/wx/gtk1/tglbtn.h @@ -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