X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/a3870b2ff595ba4bb4f0397ace77ceeb9628e94d..8b0d53975d0d1c973b5392e035974cb37975a138:/src/univ/radiobut.cpp diff --git a/src/univ/radiobut.cpp b/src/univ/radiobut.cpp index c272d76264..6ba669f940 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,7 +17,7 @@ // headers // ---------------------------------------------------------------------------- -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma implementation "univradiobut.h" #endif @@ -60,7 +60,7 @@ bool wxRadioButton::Create(wxWindow *parent, const wxString &name) { if ( !wxCheckBox::Create(parent, id, label, pos, size, style, - wxDefaultValidator, name) ) + validator, name) ) { return FALSE; } @@ -78,7 +78,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