]> git.saurik.com Git - wxWidgets.git/blobdiff - src/osx/cocoa/dnd.mm
Add wxTimer::StartOnce().
[wxWidgets.git] / src / osx / cocoa / dnd.mm
index 2c26500ebef9b3f3877a8301b5ac6dc09df9b624..c12e16f5b957c3b81fc2a0fc6002f7dba1e68fce 100644 (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;