]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/joystick.cpp
forward the char, key and text events from the textctrl
[wxWidgets.git] / src / msw / joystick.cpp
index 46a76667943cc597bd6a05d3fee9d412963530e8..b445fefaf35c9ed64c6180aef1101c06eaed9474 100644 (file)
@@ -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