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:
@@ -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.");
|
wxASSERT_MSG(theEvent, "DoDragDrop must be called in response to a mouse down or drag event.");
|
||||||
|
|
||||||
NSPoint down = [theEvent locationInWindow];
|
NSPoint down = [theEvent locationInWindow];
|
||||||
NSPoint p = [view convertPoint:down toView:nil];
|
NSPoint p = [view convertPoint:down fromView:nil];
|
||||||
|
|
||||||
gCurrentSource = this;
|
gCurrentSource = this;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user