X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/0180dad680ecbe4cb5cf8e6e45ce569f7a1029f7..b21624e7e0b39e4cb640d48b54b3c535f2ad8625:/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;