summaryrefslogtreecommitdiff
path: root/vcl/aqua/source/dtrans/DropTarget.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'vcl/aqua/source/dtrans/DropTarget.cxx')
-rw-r--r--vcl/aqua/source/dtrans/DropTarget.cxx9
1 files changed, 8 insertions, 1 deletions
diff --git a/vcl/aqua/source/dtrans/DropTarget.cxx b/vcl/aqua/source/dtrans/DropTarget.cxx
index bb46e21d6a83..c799d9298a3b 100644
--- a/vcl/aqua/source/dtrans/DropTarget.cxx
+++ b/vcl/aqua/source/dtrans/DropTarget.cxx
@@ -296,6 +296,7 @@ NSDragOperation DropTarget::draggingUpdated(id sender)
//NSLog(@"Drag update: Source actions: %x proposed action %x selected action %x", mDragSourceSupportedActions, currentAction, mSelectedDropAction);
}
+#ifndef __LP64__
// Weird but it appears as if there is no method in Cocoa
// to create a kThemeCopyArrowCursor hence we have to use
// Carbon to do it
@@ -305,7 +306,9 @@ NSDragOperation DropTarget::draggingUpdated(id sender)
SetThemeCursor(kThemeCopyArrowCursor);
else
SetThemeCursor(kThemeArrowCursor);
-
+#else
+ // FIXME: SetThemeCursor replacement?
+#endif
return dragOp;
}
@@ -316,7 +319,9 @@ void DropTarget::draggingExited(id /*sender*/)
fire_dragExit(dte);
mDragSourceSupportedActions = DNDConstants::ACTION_NONE;
mSelectedDropAction = DNDConstants::ACTION_NONE;
+#ifndef __LP64__
SetThemeCursor(kThemeArrowCursor);
+#endif
}
@@ -370,7 +375,9 @@ void DropTarget::concludeDragOperation(id /*sender*/)
mDragSourceSupportedActions = DNDConstants::ACTION_NONE;
mSelectedDropAction = DNDConstants::ACTION_NONE;
mXCurrentDragClipboard = uno::Reference<XClipboard>();
+#ifndef __LP64__
SetThemeCursor(kThemeArrowCursor);
+#endif
}