]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk1/joystick.cpp
1. some more tests in console
[wxWidgets.git] / src / gtk1 / joystick.cpp
index 3b80491d4c5dbfe779579ca138b6dd62e29978b6..372046b52f2b21e9ed8f8eadbb865b2b792acec1 100644 (file)
@@ -12,6 +12,7 @@
 #ifdef __GNUG__
 #pragma implementation "joystick.h"
 #endif
+#if wxUSE_JOYSTICK
 
 #include <linux/joystick.h>
 #include <sys/types.h>
@@ -354,4 +355,5 @@ bool wxJoystick::ReleaseCapture(void)
   m_polling = 0;
   return TRUE;
 }
+#endif  // wxUSE_JOYSTICK