]> git.saurik.com Git - wxWidgets.git/commitdiff
joystick made conditional
authorKarsten Ballüder <ballueder@usa.net>
Mon, 27 Mar 2000 11:20:54 +0000 (11:20 +0000)
committerKarsten Ballüder <ballueder@usa.net>
Mon, 27 Mar 2000 11:20:54 +0000 (11:20 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6951 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/gtk/joystick.cpp
src/gtk1/joystick.cpp

index 3b80491d4c5dbfe779579ca138b6dd62e29978b6..810ebb4a5951f1fad8d77f47fb435a5decda2fce 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
 
index 3b80491d4c5dbfe779579ca138b6dd62e29978b6..810ebb4a5951f1fad8d77f47fb435a5decda2fce 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