X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/fb9010ed40454cc978a9cbaa6de2ee41ea8b6c84..19e30148e18cc99296b26503c155e5cef59045f4:/src/os2/joystick.cpp?ds=sidebyside diff --git a/src/os2/joystick.cpp b/src/os2/joystick.cpp index 5f20af8209..e40b19826e 100644 --- a/src/os2/joystick.cpp +++ b/src/os2/joystick.cpp @@ -9,9 +9,13 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// +#include "wx/defs.h" + +#if wxUSE_JOYSTICK + #include "wx/string.h" #define INCL_PM -#include "os2.h" +#define INCL_DOS #include "wx/os2/private.h" #define NO_JOYGETPOSEX @@ -280,4 +284,5 @@ bool wxJoystick::ReleaseCapture() // TODO return FALSE; } +#endif // wxUSE_JOYSTICK