X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/ae3c17b4013e80b99976c750c19fca47729517f6..a70ab3b804b6c363f8bcbed0b4fce94b7fb03612:/interface/wx/radiobut.h diff --git a/interface/wx/radiobut.h b/interface/wx/radiobut.h index dfce977c50..ef4dd21c76 100644 --- a/interface/wx/radiobut.h +++ b/interface/wx/radiobut.h @@ -8,7 +8,6 @@ /** @class wxRadioButton - @wxheader{radiobut.h} A radio button item is a button which usually denotes one of several mutually exclusive options. It has a text label next to a (usually) round @@ -39,7 +38,7 @@ @library{wxcore} @category{ctrl} - + @appearance{radiobutton.png} @see @ref overview_eventhandling, wxRadioBox, wxCheckBox */ @@ -89,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 @@ -115,6 +112,6 @@ public: @param value @true to select, @false to deselect. */ - void SetValue(const bool value); + virtual void SetValue(bool value); };