]> git.saurik.com Git - wxWidgets.git/blobdiff - src/univ/radiobut.cpp
fix unicode stuff
[wxWidgets.git] / src / univ / radiobut.cpp
index 5357f948d7faca1660a533f9c2991fb6e231e314..6415ae32f1d7891868b25a0eb9f5e502a7586637 100644 (file)
@@ -17,7 +17,7 @@
 // headers
 // ----------------------------------------------------------------------------
 
-#ifdef __GNUG__
+#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
     #pragma implementation "univradiobut.h"
 #endif
 
@@ -60,12 +60,12 @@ bool wxRadioButton::Create(wxWindow *parent,
                         const wxString &name)
 {
     if ( !wxCheckBox::Create(parent, id, label, pos, size, style,
-                             wxDefaultValidator, name) )
+                             validator, name) )
     {
-        return FALSE;
+        return false;
     }
 
-    return TRUE;
+    return true;
 }
 
 // ----------------------------------------------------------------------------
@@ -134,7 +134,7 @@ void wxRadioButton::ClearValue()
 {
     if ( IsChecked() )
     {
-        SetValue(FALSE);
+        SetValue(false);
     }
 }