X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/8b5d5223d164a3b7fbacc5e69808cadd25163b1b..69120ee48a66faa743b6e7c85a745806f53228ac:/src/msw/joystick.cpp?ds=sidebyside diff --git a/src/msw/joystick.cpp b/src/msw/joystick.cpp index 46a7666794..b445fefaf3 100644 --- a/src/msw/joystick.cpp +++ b/src/msw/joystick.cpp @@ -87,7 +87,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