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