X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/57c208c5759da71a637f0f0f5b7d3dc3eda09c02..51dba3f868be76351d7351aba528ceec5111070c:/src/msw/joystick.cpp diff --git a/src/msw/joystick.cpp b/src/msw/joystick.cpp index 5fa69fd9ce..cd636fba81 100644 --- a/src/msw/joystick.cpp +++ b/src/msw/joystick.cpp @@ -20,9 +20,11 @@ #pragma hdrstop #endif -#include +#include "wx/string.h" +#include "wx/window.h" +#include "wx/msw/private.h" -#ifndef __GNUWIN32__ +#if !defined( __GNUWIN32__ ) || defined(wxUSE_NORLANDER_HEADERS) #include #endif @@ -32,7 +34,9 @@ typedef UINT MMRESULT; #ifndef __TWIN32__ #ifdef __GNUWIN32__ -#include +#ifndef wxUSE_NORLANDER_HEADERS +#include "wx/msw/gnuwin32/extra.h" +#endif #endif #endif @@ -41,8 +45,8 @@ typedef UINT MMRESULT; #define NO_JOYGETPOSEX #endif -#include -#include +#include "wx/window.h" +#include "wx/msw/joystick.h" IMPLEMENT_DYNAMIC_CLASS(wxJoystick, wxObject)