X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/f6bcfd974ef26faf6f91a62cac09827e09463fd1..0a62b1978cf9ad2ffb2cb4d247fe6022e63967a9:/src/gtk/joystick.cpp?ds=sidebyside diff --git a/src/gtk/joystick.cpp b/src/gtk/joystick.cpp index 372046b52f..eaf094acdf 100644 --- a/src/gtk/joystick.cpp +++ b/src/gtk/joystick.cpp @@ -12,8 +12,13 @@ #ifdef __GNUG__ #pragma implementation "joystick.h" #endif + +#include "wx/defs.h" + #if wxUSE_JOYSTICK +#include "wx/joystick.h" + #include #include #include @@ -21,9 +26,9 @@ #include #include #include + #include "wx/event.h" #include "wx/window.h" -#include "wx/gtk/joystick.h" #define JOYSTICK_AXE_MAX 32767 #define JOYSTICK_AXE_MIN -32767 @@ -342,7 +347,7 @@ bool wxJoystick::HasPOVCTS(void) const // Operations //////////////////////////////////////////////////////////////////////////// -bool wxJoystick::SetCapture(wxWindow* win, int pollingFreq = 0) +bool wxJoystick::SetCapture(wxWindow* win, int pollingFreq) { m_catchwin = win; m_polling = pollingFreq;