From 9a9b58229f482ecb65a4bd128ae1dbd376d91c85 Mon Sep 17 00:00:00 2001 From: =?utf8?q?V=C3=A1clav=20Slav=C3=ADk?= Date: Thu, 21 Dec 2006 18:24:27 +0000 Subject: [PATCH] compilation fix for !wxUSE_VALIDATORS git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44026 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/generic/htmllbox.cpp | 4 ++++ 1 file changed, 4 insertions(+) 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