]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk1/joystick.cpp
FALSE not false
[wxWidgets.git] / src / gtk1 / joystick.cpp
index 9994f9a66706398e713a9a0a383ace1ee992b46f..eaf094acdf6df4875e867644dd18e067ea0933db 100644 (file)
 #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>
@@ -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;