Project: SWT
Bug 264703 should DND set cursors?
Reported: 2009-02-12 10:35:41 | Status: resolved fixed

I was running eclipse with the 64 bit port and I notice that the cursor was changing properly during drag and drop. The calls to SetThemeCursor() do not run on 64 bit, so I believe the underline OS is changing the cursor for us, probably using the operation value we return. I removed the calls on 32 bit as well and it seems to work fine. Scott, do you think there is any reason to make those calls?

Files changed in fix:
bundles/org.eclipse.swt/Eclipse SWT Drag and Drop/cocoa/org/eclipse/swt/dnd/DropTarget.java bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSCursor.java bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/OS.java