Mercurial > projects > dwt-mac
diff dwt/dnd/DragSource.d @ 46:cfa563df4fdd
Updated Widget and Display to 3.514
author | Jacob Carlborg <doob@me.com> |
---|---|
date | Fri, 05 Dec 2008 16:00:41 +0100 |
parents | d8635bb48c7c |
children | 52007db1276d |
line wrap: on
line diff
--- a/dwt/dnd/DragSource.d Mon Dec 01 17:07:00 2008 +0100 +++ b/dwt/dnd/DragSource.d Fri Dec 05 16:00:41 2008 +0100 @@ -364,7 +364,7 @@ viewPt.y -= (imageSize.height / 2); // The third argument to dragImage is ignored as of 10.4. - NSSize ignored = new NSSize(); + NSSize ignored = NSSize(); ignored.width = 0; ignored.height = 0; @@ -481,7 +481,7 @@ if (sel is OS.sel_draggedImage_endedAt_operation_) { NSImage image = new NSImage(arg0); - NSPoint point = new NSPoint(); + NSPoint point = NSPoint(); OS.memmove(point, arg1, NSPoint.sizeof); ds.draggedImage_endedAt_operation(image, point, arg2); }