From: Václav Slavík Date: Thu, 21 Dec 2006 18:24:27 +0000 (+0000) Subject: compilation fix for !wxUSE_VALIDATORS X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/9a9b58229f482ecb65a4bd128ae1dbd376d91c85 compilation fix for !wxUSE_VALIDATORS git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44026 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- 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