]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk1/radiobox.cpp
standard icons for msg boxes
[wxWidgets.git] / src / gtk1 / radiobox.cpp
index e677deb96867116789db4d4d76adb129e840fbd6..7d2f23a120020221ac48568c0258482aa00bed0f 100644 (file)
@@ -87,7 +87,9 @@ bool wxRadioBox::Create( wxWindow *parent, wxWindowID id, const wxString& title,
 
     PreCreation( parent, id, pos, size, style, name );
 
+#if wxUSE_VALIDATORS
     SetValidator( validator );
+#endif
 
     m_widget = gtk_frame_new( title.mbc_str() );