X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/7520f3da332d64a676b6f7d27a56004fabf2db36..ee5aa9d44fa75e88bce9981d7d02dea9f6d5f3c4:/src/os2/joystick.cpp?ds=sidebyside diff --git a/src/os2/joystick.cpp b/src/os2/joystick.cpp index 6fef9a0116..2117fd31e3 100644 --- a/src/os2/joystick.cpp +++ b/src/os2/joystick.cpp @@ -9,23 +9,24 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -// // For compilers that support precompilation, includes "wx.h". -// #include "wx/wxprec.h" #if wxUSE_JOYSTICK -#include "wx/string.h" +#include "wx/joystick.h" + +#ifndef WX_PRECOMP + #include "wx/string.h" + #include "wx/window.h" +#endif + #define INCL_PM #define INCL_DOS #include "wx/os2/private.h" #define NO_JOYGETPOSEX -#include "wx/window.h" -#include "wx/joystick.h" - IMPLEMENT_DYNAMIC_CLASS(wxJoystick, wxObject) // Attributes @@ -287,4 +288,5 @@ bool wxJoystick::ReleaseCapture() // TODO return false; } + #endif // wxUSE_JOYSTICK