]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk/joystick.cpp
Fixed a crash when GetMonthControl returns NULL
[wxWidgets.git] / src / gtk / joystick.cpp
index 334fefee346e035945f8cb4cfedabed9bf1bc994..eaf094acdf6df4875e867644dd18e067ea0933db 100644 (file)
@@ -347,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;