From: Stefan Csomor Date: Mon, 5 Mar 2012 06:10:19 +0000 (+0000) Subject: coordinate conversion was the wrong way round X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/637ea0080fe732692582c84e7bec9bed8e68541c?ds=sidebyside coordinate conversion was the wrong way round git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70810 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- 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;