#pragma implementation "joystick.h"
#endif
-#include <wx/joystick.h>
+#include "wx/defs.h"
#if wxUSE_JOYSTICK
+#include "wx/joystick.h"
+
#include <linux/joystick.h>
#include <sys/types.h>
#include <sys/stat.h>
// Operations
////////////////////////////////////////////////////////////////////////////
-bool wxJoystick::SetCapture(wxWindow* win, int pollingFreq = 0)
+bool wxJoystick::SetCapture(wxWindow* win, int pollingFreq)
{
m_catchwin = win;
m_polling = pollingFreq;