]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/listctrl.cpp
added test mode to wxLongLongWx which allowed to find the bug in operator*=()
[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)
 {
                         const wxValidator& validator,
                         const wxString& name)
 {
+#if wxUSE_VALIDATORS
     SetValidator(validator);
     SetValidator(validator);
+#endif // wxUSE_VALIDATORS
+
     SetName(name);
 
     int x = pos.x;
     SetName(name);
 
     int x = pos.x;