projects
/
wxWidgets.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
added helpview to makefile
[wxWidgets.git]
/
src
/
msw
/
listbox.cpp
diff --git
a/src/msw/listbox.cpp
b/src/msw/listbox.cpp
index 3b42780fcb8d738636e758bb12f3aeba9cc2bc30..128111853e8d173a71dfe3578d3a7fbb462c2f2f 100644
(file)
--- a/
src/msw/listbox.cpp
+++ b/
src/msw/listbox.cpp
@@
-138,7
+138,9
@@
bool wxListBox::Create(wxWindow *parent,
m_selected = 0;
SetName(name);
+#if wxUSE_VALIDATORS
SetValidator(validator);
+#endif // wxUSE_VALIDATORS
if (parent)
parent->AddChild(this);