fixes #16169
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@76302 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
275bc1fe6d
commit
8ecd1a8b95
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user