X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/12f5e1e78fe906050ff2fee9529476db332633f0..a70ab3b804b6c363f8bcbed0b4fce94b7fb03612:/interface/wx/radiobut.h?ds=sidebyside diff --git a/interface/wx/radiobut.h b/interface/wx/radiobut.h index 0e8c56332d..ef4dd21c76 100644 --- a/interface/wx/radiobut.h +++ b/interface/wx/radiobut.h @@ -38,7 +38,7 @@ @library{wxcore} @category{ctrl} - + @appearance{radiobutton.png} @see @ref overview_eventhandling, wxRadioBox, wxCheckBox */ @@ -88,24 +88,22 @@ public: /** Destructor, destroying the radio button item. */ - ~wxRadioButton(); + virtual ~wxRadioButton(); /** Creates the choice for two-step construction. See wxRadioButton() for further details. */ - bool Create(wxWindow* parent, wxWindowID id, - const wxString& label, + bool Create(wxWindow* parent, wxWindowID id, const wxString& label, const wxPoint& pos = wxDefaultPosition, - const wxSize& size = wxDefaultSize, - long style = 0, + const wxSize& size = wxDefaultSize, long style = 0, const wxValidator& validator = wxDefaultValidator, - const wxString& name = "radioButton"); + const wxString& name = wxRadioButtonNameStr); /** Returns @true if the radio button is depressed, @false otherwise. */ - bool GetValue() const; + virtual bool GetValue() const; /** Sets the radio button to selected or deselected status. This does not cause a @@ -114,6 +112,6 @@ public: @param value @true to select, @false to deselect. */ - void SetValue(const bool value); + virtual void SetValue(bool value); };