X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/85d3d198c2fa866d39763ace3eebf14c0d164ba7..cc197ed421a6a9bac9de570fa6a8beceb7d8c3e1:/src/generic/htmllbox.cpp?ds=sidebyside diff --git a/src/generic/htmllbox.cpp b/src/generic/htmllbox.cpp index 6173b2ef2d..c7c03d6237 100644 --- a/src/generic/htmllbox.cpp +++ b/src/generic/htmllbox.cpp @@ -570,7 +570,9 @@ bool wxSimpleHtmlListBox::Create(wxWindow *parent, wxWindowID id, if (!wxHtmlListBox::Create(parent, id, pos, size, style, name)) return false; +#if wxUSE_VALIDATORS SetValidator(validator); +#endif for (int i=0; i