]> git.saurik.com Git - wxWidgets.git/blobdiff - src/univ/radiobut.cpp
Fixed some problems in converting existing static libs into DLLs.
[wxWidgets.git] / src / univ / radiobut.cpp
index 5357f948d7faca1660a533f9c2991fb6e231e314..6ba669f94017c5c8fcada5438db7585225b848df 100644 (file)
@@ -17,7 +17,7 @@
 // headers
 // ----------------------------------------------------------------------------
 
-#ifdef __GNUG__
+#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
     #pragma implementation "univradiobut.h"
 #endif
 
@@ -60,7 +60,7 @@ bool wxRadioButton::Create(wxWindow *parent,
                         const wxString &name)
 {
     if ( !wxCheckBox::Create(parent, id, label, pos, size, style,
-                             wxDefaultValidator, name) )
+                             validator, name) )
     {
         return FALSE;
     }