// Created: 10.09.00
// RCS-ID: $Id$
// Copyright: (c) 2000 SciTech Software, Inc. (www.scitechsoft.com)
-// Licence: wxWindows license
+// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
// ============================================================================
// headers
// ----------------------------------------------------------------------------
-#ifdef __GNUG__
- #pragma implementation "radiobut.h"
-#endif
-
#include "wx/wxprec.h"
#ifdef __BORLANDC__
const wxString &name)
{
if ( !wxCheckBox::Create(parent, id, label, pos, size, style,
- wxDefaultValidator, name) )
+ validator, name) )
{
- return FALSE;
+ return false;
}
- return TRUE;
+ return true;
}
// ----------------------------------------------------------------------------
// 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
{
if ( IsChecked() )
{
- SetValue(FALSE);
+ SetValue(false);
}
}