X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/442b35b53bf95f5c6c003ea9ddbefd17adbc2a00..cb0b7b7d811356f729315fc14c7e0d311f43384d:/src/univ/radiobut.cpp?ds=sidebyside diff --git a/src/univ/radiobut.cpp b/src/univ/radiobut.cpp index c272d76264..d125cb30f5 100644 --- a/src/univ/radiobut.cpp +++ b/src/univ/radiobut.cpp @@ -6,7 +6,7 @@ // Created: 10.09.00 // RCS-ID: $Id$ // Copyright: (c) 2000 SciTech Software, Inc. (www.scitechsoft.com) -// Licence: wxWindows license +// Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// // ============================================================================ @@ -17,10 +17,6 @@ // headers // ---------------------------------------------------------------------------- -#ifdef __GNUG__ - #pragma implementation "univradiobut.h" -#endif - #include "wx/wxprec.h" #ifdef __BORLANDC__ @@ -60,12 +56,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; } // ---------------------------------------------------------------------------- @@ -78,7 +74,7 @@ void wxRadioButton::OnCheck() // find the radio button which is the first in the group, i.e. the one // with wxRB_GROUP style const wxWindowList& siblings = GetParent()->GetChildren(); - wxWindowList::Node *nodeStart = siblings.Find(this); + wxWindowList::compatibility_iterator nodeStart = siblings.Find(this); while ( nodeStart ) { // stop if we found a radio button with wxRB_GROUP style or it we @@ -134,7 +130,7 @@ void wxRadioButton::ClearValue() { if ( IsChecked() ) { - SetValue(FALSE); + SetValue(false); } }