git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@76302 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Stefan Csomor 2014-04-08 09:14:11 +00:00
parent 275bc1fe6d
commit 8ecd1a8b95

View File

@ -1438,6 +1438,7 @@ void wxWindowMac::WarpPointer(int x_pos, int y_pos)
DoClientToScreen(&x, &y);
CGPoint cgpoint = CGPointMake( x, y );
CGWarpMouseCursorPosition( cgpoint );
CGAssociateMouseAndMouseCursorPosition(true);
// At least GTK sends a mouse moved event after WarpMouse
wxMouseEvent event(wxEVT_MOTION);