diff --git a/src/msw/joystick.cpp b/src/msw/joystick.cpp index b3c1369e2c..1faaa0caf6 100644 --- a/src/msw/joystick.cpp +++ b/src/msw/joystick.cpp @@ -57,7 +57,7 @@ IMPLEMENT_DYNAMIC_CLASS(wxJoystick, wxObject) joysticks, counting from the first available and upwards. */ -wxJoystick::wxJoystick(int joystick = wxJOYSTICK1) +wxJoystick::wxJoystick(int joystick) { JOYINFO joyInfo; int i, maxsticks;