X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/7ec698211d5d82a009ac80fb354059e9af497508..04fa04d8067d235ab45b5bc05b65f0679634b541:/src/os2/joystick.cpp diff --git a/src/os2/joystick.cpp b/src/os2/joystick.cpp index 0b19280bc7..2117fd31e3 100644 --- a/src/os2/joystick.cpp +++ b/src/os2/joystick.cpp @@ -9,25 +9,24 @@ // 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" + #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 @@ -101,7 +100,7 @@ bool wxJoystick::IsOk() const return false; } -int wxJoystick::GetNumberJoysticks() const +int wxJoystick::GetNumberJoysticks() { // TODO return 0; @@ -289,4 +288,5 @@ bool wxJoystick::ReleaseCapture() // TODO return false; } + #endif // wxUSE_JOYSTICK