X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/58c837a4e67c0996134cc0947691dc09c5f26687..3cc487d140f11e26a9c4ae35ba87cc22684da65a:/src/gtk/joystick.cpp?ds=sidebyside diff --git a/src/gtk/joystick.cpp b/src/gtk/joystick.cpp index 3b80491d4c..372046b52f 100644 --- a/src/gtk/joystick.cpp +++ b/src/gtk/joystick.cpp @@ -12,6 +12,7 @@ #ifdef __GNUG__ #pragma implementation "joystick.h" #endif +#if wxUSE_JOYSTICK #include #include @@ -354,4 +355,5 @@ bool wxJoystick::ReleaseCapture(void) m_polling = 0; return TRUE; } +#endif // wxUSE_JOYSTICK