coordinate conversion was the wrong way round

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70810 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Stefan Csomor
2012-03-05 06:10:19 +00:00
parent 0a7e80ec29
commit 637ea0080f

View File

@@ -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;