X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/1169a91932273bc84c23ed9dbd0a2da064d59d66..c0b0635cf69537ca32377bad5650b39402cb21b6:/src/univ/radiobut.cpp?ds=sidebyside diff --git a/src/univ/radiobut.cpp b/src/univ/radiobut.cpp index 56676fe82c..6415ae32f1 100644 --- a/src/univ/radiobut.cpp +++ b/src/univ/radiobut.cpp @@ -50,25 +50,6 @@ IMPLEMENT_DYNAMIC_CLASS(wxRadioButton, wxControl) // wxRadioButton // ---------------------------------------------------------------------------- -wxRadioButton::wxRadioButton() -{ - Init(); -} - -wxRadioButton::wxRadioButton(wxWindow *parent, - wxWindowID id, - const wxString& label, - const wxPoint& pos, - const wxSize& size, - long style, - const wxValidator& validator, - const wxString& name) -{ - Init(); - - Create(parent, id, label, pos, size, style, validator, name); -} - bool wxRadioButton::Create(wxWindow *parent, wxWindowID id, const wxString &label, @@ -81,10 +62,10 @@ bool wxRadioButton::Create(wxWindow *parent, if ( !wxCheckBox::Create(parent, id, label, pos, size, style, validator, name) ) { - return FALSE; + return false; } - return TRUE; + return true; } // ---------------------------------------------------------------------------- @@ -153,7 +134,7 @@ void wxRadioButton::ClearValue() { if ( IsChecked() ) { - SetValue(FALSE); + SetValue(false); } }