]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk/listbox.cpp
Had missed one LPSTR.
[wxWidgets.git] / src / gtk / listbox.cpp
index 8639e859fb3f6f1c32dd9d8021f9e3b586c48e83..4c496c67a06b2f64ed72d4b6bcffe20b83e24513 100644 (file)
@@ -246,7 +246,9 @@ bool wxListBox::Create( wxWindow *parent, wxWindowID id,
 
     PreCreation( parent, id, pos, size, style, name );
 
+#if wxUSE_VALIDATORS
     SetValidator( validator );
+#endif
 
     m_widget = gtk_scrolled_window_new( (GtkAdjustment*) NULL, (GtkAdjustment*) NULL );
     if (style & wxLB_ALWAYS_SB)