X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/ac32ba44a150c9de37a9b56ef7cb10521d0e9347..6d3ef2255e608c68954a61323176856332086368:/src/univ/radiobut.cpp diff --git a/src/univ/radiobut.cpp b/src/univ/radiobut.cpp index 5357f948d7..6415ae32f1 100644 --- a/src/univ/radiobut.cpp +++ b/src/univ/radiobut.cpp @@ -17,7 +17,7 @@ // headers // ---------------------------------------------------------------------------- -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma implementation "univradiobut.h" #endif @@ -60,12 +60,12 @@ bool wxRadioButton::Create(wxWindow *parent, const wxString &name) { if ( !wxCheckBox::Create(parent, id, label, pos, size, style, - wxDefaultValidator, name) ) + validator, name) ) { - return FALSE; + return false; } - return TRUE; + return true; } // ---------------------------------------------------------------------------- @@ -134,7 +134,7 @@ void wxRadioButton::ClearValue() { if ( IsChecked() ) { - SetValue(FALSE); + SetValue(false); } }