X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/85d3d198c2fa866d39763ace3eebf14c0d164ba7..0d045709bcd64c28a155a2a9fb29d95f56a0ff7b:/src/generic/htmllbox.cpp 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