X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/9f24a90e2b89294d671ac922a2c59a7306401db9..ab67e8874db324fab5223cc8d5dff8a8de3e2b77:/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;