X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/fb9010ed40454cc978a9cbaa6de2ee41ea8b6c84..1978421a6d8b81c1f8a961da4b8ddf544fec7b1b:/src/os2/joystick.cpp 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