]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk1/radiobut.cpp
1. serious bug in wxRegConfig corrected - deleting a value would delete the
[wxWidgets.git] / src / gtk1 / radiobut.cpp
index 595709269584eea2825fbe8824af42c383a2bfda..6b6cd9869425ac6b90ceef3e7f29d5db1e0b1562 100644 (file)
@@ -74,7 +74,9 @@ bool wxRadioButton::Create( wxWindow *parent, wxWindowID id, const wxString& lab
 
     PreCreation( parent, id, pos, newSize, style, name );
   
+#if wxUSE_VALIDATORS
     SetValidator( validator );
+#endif
 
     m_widget = gtk_radio_button_new_with_label( (GSList *) NULL, label.mbc_str() );