X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/0c589ad076cb531a3ef7808aaedadc03c8286942..17d8ee1cbd0486321f1dbb8b5a1ff094ef3ef9ba:/src/msw/joystick.cpp diff --git a/src/msw/joystick.cpp b/src/msw/joystick.cpp index 407e704130..cd636fba81 100644 --- a/src/msw/joystick.cpp +++ b/src/msw/joystick.cpp @@ -24,7 +24,7 @@ #include "wx/window.h" #include "wx/msw/private.h" -#ifndef __GNUWIN32__ +#if !defined( __GNUWIN32__ ) || defined(wxUSE_NORLANDER_HEADERS) #include #endif @@ -34,7 +34,9 @@ typedef UINT MMRESULT; #ifndef __TWIN32__ #ifdef __GNUWIN32__ -#include +#ifndef wxUSE_NORLANDER_HEADERS +#include "wx/msw/gnuwin32/extra.h" +#endif #endif #endif @@ -43,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)