X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/0180dad680ecbe4cb5cf8e6e45ce569f7a1029f7..8c517ddd1a2dd7eee7f95eb9ac1783f4a2e6fd76:/src/generic/listctrl.cpp diff --git a/src/generic/listctrl.cpp b/src/generic/listctrl.cpp index 25364ef23f..02741c4278 100644 --- a/src/generic/listctrl.cpp +++ b/src/generic/listctrl.cpp @@ -2390,7 +2390,9 @@ bool wxListCtrl::Create( wxWindow *parent, wxWindowID id, bool ret = wxControl::Create( parent, id, pos, size, s, name ); +#if wxUSE_VALIDATORS SetValidator( validator ); +#endif if (s & wxSUNKEN_BORDER) s -= wxSUNKEN_BORDER;