]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/joystick.cpp
wxT() for a Spanish(?) debug message
[wxWidgets.git] / src / msw / joystick.cpp
index 5fa69fd9ce29eaffb3dbaa56ae3887c9d56fba0e..58b763191597c918e3907eb25f3cda1cd7e8a31e 100644 (file)
 #pragma hdrstop
 #endif
 
-#include <windows.h>
+#include "wx/string.h"
+#include "wx/window.h"
+#include "wx/msw/private.h"
 
-#ifndef __GNUWIN32__
+#if !defined( __GNUWIN32__ ) || defined(wxUSE_NORLANDER_HEADERS)
 #include <mmsystem.h>
 #endif
 
@@ -32,9 +34,11 @@ typedef UINT MMRESULT;
 
 #ifndef __TWIN32__
 #ifdef __GNUWIN32__
+#ifndef wxUSE_NORLANDER_HEADERS
 #include <wx/msw/gnuwin32/extra.h>
 #endif
 #endif
+#endif
 
 // Why doesn't BC++ have joyGetPosEx?
 #if !defined(__WIN32__) || defined(__BORLANDC__) || defined(__TWIN32__)