X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/2b510feb170bff39420e43e1da502b0bfe794b04..e7300ec6d9ebbd1cfa2fcf12c0ce6e5aee85a152:/src/gtk/joystick.cpp diff --git a/src/gtk/joystick.cpp b/src/gtk/joystick.cpp index 9994f9a667..eaf094acdf 100644 --- a/src/gtk/joystick.cpp +++ b/src/gtk/joystick.cpp @@ -13,10 +13,12 @@ #pragma implementation "joystick.h" #endif -#include +#include "wx/defs.h" #if wxUSE_JOYSTICK +#include "wx/joystick.h" + #include #include #include @@ -345,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;