summaryrefslogtreecommitdiff
path: root/vcl/aqua/source/dtrans/DropTarget.cxx
diff options
context:
space:
mode:
authorTor Lillqvist <tml@iki.fi>2012-09-20 00:54:36 +0300
committerTor Lillqvist <tml@iki.fi>2012-09-20 00:54:52 +0300
commit25f935bfb44b87271eb11e719c4d1fb8624bdd02 (patch)
tree8dd499945234e89ad6f3eb46966ee899147542d4 /vcl/aqua/source/dtrans/DropTarget.cxx
parent591e23d03c27e2658889d913626fdcb2837d9064 (diff)
64-bit fixes
Change-Id: I268ccab01e030535f04ef1256dc702b07cbc6611
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
}