X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/7520f3da332d64a676b6f7d27a56004fabf2db36..afab8b85c4bdeb11a248c57d13e9bcfa14149ef8:/src/os2/joystick.cpp diff --git a/src/os2/joystick.cpp b/src/os2/joystick.cpp index 6fef9a0116..d12fa211be 100644 --- a/src/os2/joystick.cpp +++ b/src/os2/joystick.cpp @@ -4,28 +4,28 @@ // Author: David Webster // Modified by: // Created: 10/09/99 -// RCS-ID: $Id$ // Copyright: (c) David Webster // 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 +287,5 @@ bool wxJoystick::ReleaseCapture() // TODO return false; } + #endif // wxUSE_JOYSTICK