]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/joystick.cpp
Take src x, y into account when blitting with alpha
[wxWidgets.git] / src / msw / joystick.cpp
index 5ffab12251683f190b8bd519c0d78d0ef2c33813..d09e443a91e228b5c81a4a0fa91a13abd284ab6d 100644 (file)
 typedef UINT MMRESULT;
 #endif
 
-#ifdef __GNUWIN32_OLD__
-#include "wx/msw/gnuwin32/extra.h"
-#endif
-
 // Why doesn't BC++ have joyGetPosEx?
 #if !defined(__WIN32__) || defined(__BORLANDC__)
 #define NO_JOYGETPOSEX
@@ -87,7 +83,7 @@ wxPoint wxJoystick::GetPosition() const
     if (res == JOYERR_NOERROR )
         return wxPoint(joyInfo.wXpos, joyInfo.wYpos);
     else
-        return wxPoint(0, 0);
+        return wxPoint(0,0);
 }
 
 int wxJoystick::GetZPosition() const