diff --git a/src/msw/listbox.cpp b/src/msw/listbox.cpp index 1102d6f012..9e4b653af8 100644 --- a/src/msw/listbox.cpp +++ b/src/msw/listbox.cpp @@ -257,7 +257,7 @@ bool wxListBox::Create(wxWindow *parent, const wxSize& size, const wxArrayString& choices, long style, - const wxValidator& wxVALIDATOR_PARAM(validator), + const wxValidator& validator, const wxString& name) { wxCArrayString chs(choices);