]> git.saurik.com Git - wxWidgets.git/blobdiff - src/univ/radiobut.cpp
Use wxObjcAutoRefFromAlloc for sm_cocoaTarget.
[wxWidgets.git] / src / univ / radiobut.cpp
index 56676fe82cf07fcbe5d381fa27b337dd0ce02286..6415ae32f1d7891868b25a0eb9f5e502a7586637 100644 (file)
@@ -50,25 +50,6 @@ IMPLEMENT_DYNAMIC_CLASS(wxRadioButton, wxControl)
 // 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,
@@ -81,10 +62,10 @@ bool wxRadioButton::Create(wxWindow *parent,
     if ( !wxCheckBox::Create(parent, id, label, pos, size, style,
                              validator, name) )
     {
-        return FALSE;
+        return false;
     }
 
-    return TRUE;
+    return true;
 }
 
 // ----------------------------------------------------------------------------
@@ -153,7 +134,7 @@ void wxRadioButton::ClearValue()
 {
     if ( IsChecked() )
     {
-        SetValue(FALSE);
+        SetValue(false);
     }
 }