X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/adaaa68635b4c8a4d8c5284add40366ea3eefb07..fcd209b6a20b41e7ddf9acf837311ac6779ea41f:/interface/wx/radiobut.h diff --git a/interface/wx/radiobut.h b/interface/wx/radiobut.h index 5fe292f85b..439fc32bfd 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 */ @@ -83,7 +83,7 @@ public: 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. @@ -94,13 +94,11 @@ public: 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. @@ -114,6 +112,6 @@ public: @param value @true to select, @false to deselect. */ - void SetValue(const bool value); + virtual void SetValue(bool value); };