]> git.saurik.com Git - wxWidgets.git/blobdiff - src/univ/radiobut.cpp
fix memory leak (coverity checker CID 53)
[wxWidgets.git] / src / univ / radiobut.cpp
index eb1d8a6dc81f8ab3db2bd2e8305a69ce4cb816c1..d125cb30f573da89975fec9a281c2495ba10b31c 100644 (file)
 // headers
 // ----------------------------------------------------------------------------
 
-#ifdef __GNUG__
-    #pragma implementation "univradiobut.h"
-#endif
-
 #include "wx/wxprec.h"
 
 #ifdef __BORLANDC__
@@ -62,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;
 }
 
 // ----------------------------------------------------------------------------
@@ -134,7 +130,7 @@ void wxRadioButton::ClearValue()
 {
     if ( IsChecked() )
     {
-        SetValue(FALSE);
+        SetValue(false);
     }
 }