/**
@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
@library{wxcore}
@category{ctrl}
- <!-- @appearance{radiobutton.png} -->
+ @appearance{radiobutton.png}
@see @ref overview_eventhandling, wxRadioBox, wxCheckBox
*/
const wxSize& size = wxDefaultSize,
long style = 0,
const wxValidator& validator = wxDefaultValidator,
- const wxString& name = "radioButton");
+ const wxString& name = wxRadioButtonNameStr);
/**
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
@param value
@true to select, @false to deselect.
*/
- void SetValue(const bool value);
+ virtual void SetValue(bool value);
};