projects
/
wxWidgets.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
restored (as deprecated) accidentally removed wx{Dir|File}Dialog::Get/SetStyle()
[wxWidgets.git]
/
src
/
generic
/
htmllbox.cpp
diff --git
a/src/generic/htmllbox.cpp
b/src/generic/htmllbox.cpp
index 6173b2ef2d4bffcbbb42ec765a7c3f356a000e90..c7c03d62373deb14131a3638fa91a3d1b6b61c77 100644
(file)
--- 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 (!wxHtmlListBox::Create(parent, id, pos, size, style, name))
return false;
+#if wxUSE_VALIDATORS
SetValidator(validator);
SetValidator(validator);
+#endif
for (int i=0; i<n; i++)
Append(choices[i]);
for (int i=0; i<n; i++)
Append(choices[i]);
@@
-588,7
+590,9
@@
bool wxSimpleHtmlListBox::Create(wxWindow *parent, wxWindowID id,
if (!wxHtmlListBox::Create(parent, id, pos, size, style, name))
return false;
if (!wxHtmlListBox::Create(parent, id, pos, size, style, name))
return false;
+#if wxUSE_VALIDATORS
SetValidator(validator);
SetValidator(validator);
+#endif
Append(choices);
return true;
Append(choices);
return true;