]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/joystick.cpp
Fix to preserve alpha channel in Rotate90
[wxWidgets.git] / src / msw / joystick.cpp
index 46a76667943cc597bd6a05d3fee9d412963530e8..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();
+        return wxPoint(0,0);
 }
 
 int wxJoystick::GetZPosition() const