aboutsummaryrefslogtreecommitdiffhomepage
path: root/cocoa/ScintillaView.mm
diff options
context:
space:
mode:
authorNeil Hodgson <nyamatongwe@gmail.com>2023-02-22 17:31:22 +1100
committerNeil Hodgson <nyamatongwe@gmail.com>2023-02-22 17:31:22 +1100
commitf69f3e612733f95f6ee453372bbc65aedb91f8c4 (patch)
treecea7b096f9eff023c338b0f6f1ccfafbb45d77bd /cocoa/ScintillaView.mm
parentc7189cb92d357106b6bb109d71d8f8c766ddf1bb (diff)
downloadscintilla-mirror-f69f3e612733f95f6ee453372bbc65aedb91f8c4.tar.gz
Replace deprecated NSStringPboardType with current NSPasteboardTypeString.
Diffstat (limited to 'cocoa/ScintillaView.mm')
-rw-r--r--cocoa/ScintillaView.mm2
1 files changed, 1 insertions, 1 deletions
diff --git a/cocoa/ScintillaView.mm b/cocoa/ScintillaView.mm
index c75cdc1f8..281c08b3f 100644
--- a/cocoa/ScintillaView.mm
+++ b/cocoa/ScintillaView.mm
@@ -235,7 +235,7 @@ static NSCursor *cursorFromEnum(Window::Cursor cursor) {
trackingArea = nil;
mMarkedTextRange = NSMakeRange(NSNotFound, 0);
- [self registerForDraggedTypes: @[NSStringPboardType, ScintillaRecPboardType, NSFilenamesPboardType]];
+ [self registerForDraggedTypes: @[NSPasteboardTypeString, ScintillaRecPboardType, NSFilenamesPboardType]];
// Set up accessibility in the text role
if ([self respondsToSelector: @selector(setAccessibilityElement:)]) {