]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/joystick.cpp
make it clear which GL(U) library we can't find in error messages, otherwise the...
[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
     if (res == JOYERR_NOERROR )
         return wxPoint(joyInfo.wXpos, joyInfo.wYpos);
     else
-        return wxPoint();
+        return wxPoint(0,0);
 }
 
 int wxJoystick::GetZPosition() const
 }
 
 int wxJoystick::GetZPosition() const