]> git.saurik.com Git - wxWidgets.git/blobdiff - src/univ/radiobut.cpp
Fixes for building wxOS2 shared with OpenWatcom.
[wxWidgets.git] / src / univ / radiobut.cpp
index 56676fe82cf07fcbe5d381fa27b337dd0ce02286..d125cb30f573da89975fec9a281c2495ba10b31c 100644 (file)
 // headers
 // ----------------------------------------------------------------------------
 
-#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
-    #pragma implementation "univradiobut.h"
-#endif
-
 #include "wx/wxprec.h"
 
 #ifdef __BORLANDC__
@@ -50,25 +46,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 +58,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 +130,7 @@ void wxRadioButton::ClearValue()
 {
     if ( IsChecked() )
     {
-        SetValue(FALSE);
+        SetValue(false);
     }
 }