X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/1169a91932273bc84c23ed9dbd0a2da064d59d66..fcdbeefa4e1f033a8c1d0e2a0d4fb521e5e47450:/src/univ/radiobut.cpp diff --git a/src/univ/radiobut.cpp b/src/univ/radiobut.cpp index 56676fe82c..d125cb30f5 100644 --- a/src/univ/radiobut.cpp +++ b/src/univ/radiobut.cpp @@ -17,10 +17,6 @@ // headers // ---------------------------------------------------------------------------- -#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) - #pragma implementation "univradiobut.h" -#endif - #include "wx/wxprec.h" #ifdef __BORLANDC__ @@ -50,25 +46,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 +58,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 +130,7 @@ void wxRadioButton::ClearValue() { if ( IsChecked() ) { - SetValue(FALSE); + SetValue(false); } }