]> git.saurik.com Git - wxWidgets.git/blobdiff - src/univ/radiobut.cpp
moved wxWindow::GetBestSize implementation into DoGetBestSize to make it easier to...
[wxWidgets.git] / src / univ / radiobut.cpp
index eb1d8a6dc81f8ab3db2bd2e8305a69ce4cb816c1..6415ae32f1d7891868b25a0eb9f5e502a7586637 100644 (file)
@@ -17,7 +17,7 @@
 // headers
 // ----------------------------------------------------------------------------
 
-#ifdef __GNUG__
+#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
     #pragma implementation "univradiobut.h"
 #endif
 
@@ -62,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;
 }
 
 // ----------------------------------------------------------------------------
@@ -134,7 +134,7 @@ void wxRadioButton::ClearValue()
 {
     if ( IsChecked() )
     {
-        SetValue(FALSE);
+        SetValue(false);
     }
 }