X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/7520f3da332d64a676b6f7d27a56004fabf2db36..f61ed7ee42d7647663e48ac55062be0935bb07aa:/src/os2/joystick.cpp diff --git a/src/os2/joystick.cpp b/src/os2/joystick.cpp index 6fef9a0116..c86cb881a6 100644 --- a/src/os2/joystick.cpp +++ b/src/os2/joystick.cpp @@ -9,14 +9,17 @@ // 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" +#endif + #define INCL_PM #define INCL_DOS #include "wx/os2/private.h" @@ -24,7 +27,6 @@ #define NO_JOYGETPOSEX #include "wx/window.h" -#include "wx/joystick.h" IMPLEMENT_DYNAMIC_CLASS(wxJoystick, wxObject) @@ -287,4 +289,5 @@ bool wxJoystick::ReleaseCapture() // TODO return false; } + #endif // wxUSE_JOYSTICK