X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/8b5d5223d164a3b7fbacc5e69808cadd25163b1b..4f433feff9251ded00bba26b633f93e660cd44c4:/src/msw/joystick.cpp diff --git a/src/msw/joystick.cpp b/src/msw/joystick.cpp index 46a7666794..d09e443a91 100644 --- a/src/msw/joystick.cpp +++ b/src/msw/joystick.cpp @@ -32,10 +32,6 @@ 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