X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/9f24a90e2b89294d671ac922a2c59a7306401db9..0afeb753e0a6a3fdba290bf3612bb2f012d44d95:/src/osx/cocoa/dnd.mm?ds=sidebyside diff --git a/src/osx/cocoa/dnd.mm b/src/osx/cocoa/dnd.mm index 2c26500ebe..c12e16f5b9 100644 --- a/src/osx/cocoa/dnd.mm +++ b/src/osx/cocoa/dnd.mm @@ -220,7 +220,7 @@ wxDragResult wxDropSource::DoDragDrop(int WXUNUSED(flags)) wxASSERT_MSG(theEvent, "DoDragDrop must be called in response to a mouse down or drag event."); NSPoint down = [theEvent locationInWindow]; - NSPoint p = [view convertPoint:down toView:nil]; + NSPoint p = [view convertPoint:down fromView:nil]; gCurrentSource = this;