Kaydet (Commit) fcb08724 authored tarafından Douglas Mencken's avatar Douglas Mencken Kaydeden (comit) Norbert Thiebaud

fix 'NSCursor' may not respond to operationNotAllowedCursor,dragCopyCursor

related commit: e4653eee

Change-Id: Iba30c90336bf08d15d5990d6e1380867eee3564e
Reviewed-on: https://gerrit.libreoffice.org/10013Tested-by: 's avatarNorbert Thiebaud <nthiebaud@gmail.com>
Reviewed-by: 's avatarNorbert Thiebaud <nthiebaud@gmail.com>
üst f711b333
......@@ -264,9 +264,17 @@ NSDragOperation DropTarget::draggingUpdated(id sender)
}
if (dragOp == NSDragOperationNone)
#if MAC_OS_X_VERSION_MAX_ALLOWED < 1060
SetThemeCursor(kThemeNotAllowedCursor);
#else
[[NSCursor operationNotAllowedCursor] set];
#endif
else if (dragOp == NSDragOperationCopy)
#if MAC_OS_X_VERSION_MAX_ALLOWED < 1060
SetThemeCursor(kThemeCopyArrowCursor);
#else
[[NSCursor dragCopyCursor] set];
#endif
else
[[NSCursor arrowCursor] set];
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment