X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/23ae751e16775126d7c3a4c70e33e28d0a52bfb7..704ceca8d2cd8da51a5cc22f8c51fd61c762dbf5:/interface/wx/tglbtn.h diff --git a/interface/wx/tglbtn.h b/interface/wx/tglbtn.h index 9bbfb588df..b99f276a6a 100644 --- a/interface/wx/tglbtn.h +++ b/interface/wx/tglbtn.h @@ -37,7 +37,7 @@ public: Default constructor. */ wxToggleButton(); - + /** Constructor, creating and showing a toggle button. @@ -68,7 +68,7 @@ public: const wxSize& size = wxDefaultSize, long style = 0, const wxValidator& val = wxDefaultValidator, - const wxString& name = "checkBox"); + const wxString& name = wxCheckBoxNameStr); /** Destructor, destroying the toggle button. @@ -85,14 +85,14 @@ public: const wxSize& size = wxDefaultSize, long style = 0, const wxValidator& val = wxDefaultValidator, - const wxString& name = "checkBox"); + const wxString& name = wxCheckBoxNameStr); /** Gets the state of the toggle button. @return Returns @true if it is pressed, @false otherwise. */ - bool GetValue() const; + virtual bool GetValue() const; /** Sets the toggle button to the given state. This does not cause a @@ -101,7 +101,7 @@ public: @param state If @true, the button is pressed. */ - void SetValue(bool state); + virtual void SetValue(bool state); }; @@ -129,7 +129,7 @@ public: Default constructor. */ wxBitmapToggleButton(); - + /** Constructor, creating and showing a toggle button with the bitmap @e label. Internally calls Create(). @@ -140,7 +140,7 @@ public: const wxSize& size = wxDefaultSize, long style = 0, const wxValidator& val = wxDefaultValidator, - const wxString& name = "checkBox"); + const wxString& name = wxCheckBoxNameStr); /** Create method for two-step construction. @@ -151,7 +151,7 @@ public: const wxSize& size = wxDefaultSize, long style = 0, const wxValidator& val = wxDefaultValidator, - const wxString& name = "checkBox"); + const wxString& name = wxCheckBoxNameStr); /** Gets the state of the toggle button.