MSW compilation fixes for !wxUSE_VALIDATORS
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5279 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -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);
|
||||
|
Reference in New Issue
Block a user