// 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,
if ( !wxCheckBox::Create(parent, id, label, pos, size, style,
validator, name) )
{
- return FALSE;
+ return false;
}
- return TRUE;
+ return true;
}
// ----------------------------------------------------------------------------
{
if ( IsChecked() )
{
- SetValue(FALSE);
+ SetValue(false);
}
}