From f69f3e612733f95f6ee453372bbc65aedb91f8c4 Mon Sep 17 00:00:00 2001 From: Neil Hodgson Date: Wed, 22 Feb 2023 17:31:22 +1100 Subject: Replace deprecated NSStringPboardType with current NSPasteboardTypeString. --- cocoa/ScintillaView.mm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cocoa/ScintillaView.mm') 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:)]) { -- cgit v1.2.3