X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/58c837a4e67c0996134cc0947691dc09c5f26687..c3952f6524b5827420836f856ef2074f20e72849:/src/gtk1/joystick.cpp diff --git a/src/gtk1/joystick.cpp b/src/gtk1/joystick.cpp index 3b80491d4c..372046b52f 100644 --- a/src/gtk1/joystick.cpp +++ b/src/gtk1/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