]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/listctrl.cpp
TIFF fix.
[wxWidgets.git] / src / msw / listctrl.cpp
index 8f09f1fcb3b7a6d03b8b1e8933f1a481f735222a..b74816ce5baf8d36293df3c8053027fc93d862f2 100644 (file)
@@ -126,7 +126,10 @@ bool wxListCtrl::Create(wxWindow *parent,
                         const wxValidator& validator,
                         const wxString& name)
 {
+#if wxUSE_VALIDATORS
     SetValidator(validator);
+#endif // wxUSE_VALIDATORS
+
     SetName(name);
 
     int x = pos.x;