]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk1/combobox.cpp
Made tearoff menus work for gtk :-)
[wxWidgets.git] / src / gtk1 / combobox.cpp
index 3a8ee3af6a7a536bf7dc012a08ec03085a701ca0..efbe51763d8fd2b18fde0518b7dda40c974aebb9 100644 (file)
@@ -104,7 +104,9 @@ bool wxComboBox::Create( wxWindow *parent, wxWindowID id, const wxString& value,
 
     PreCreation( parent, id, pos, size, style, name );
 
+#if wxUSE_VALIDATORS
     SetValidator( validator );
+#endif
 
     m_widget = gtk_combo_new();