X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/da9e956384a0619a0ecaa0bd1e4ba26b133b60a9..f61ed7ee42d7647663e48ac55062be0935bb07aa:/src/os2/joystick.cpp diff --git a/src/os2/joystick.cpp b/src/os2/joystick.cpp index 7d9ec64512..c86cb881a6 100644 --- a/src/os2/joystick.cpp +++ b/src/os2/joystick.cpp @@ -9,16 +9,17 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -// // For compilers that support precompilation, includes "wx.h". -// #include "wx/wxprec.h" -#include "wx/defs.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" @@ -26,7 +27,6 @@ #define NO_JOYGETPOSEX #include "wx/window.h" -#include "wx/joystick.h" IMPLEMENT_DYNAMIC_CLASS(wxJoystick, wxObject) @@ -289,4 +289,5 @@ bool wxJoystick::ReleaseCapture() // TODO return false; } + #endif // wxUSE_JOYSTICK