diff --git a/src/msw/slider95.cpp b/src/msw/slider95.cpp index 1c723f2f21..3853c60447 100644 --- a/src/msw/slider95.cpp +++ b/src/msw/slider95.cpp @@ -121,7 +121,7 @@ bool wxSlider95::Create(wxWindow *parent, wxWindowID id, int value, int minValue, int maxValue, const wxPoint& pos, const wxSize& size, long style, - const wxValidator& wxVALIDATOR_PARAM(validator), + const wxValidator& validator, const wxString& name) { // default is no border