diff options
author | Neil Hodgson <nyamatongwe@gmail.com> | 2023-02-22 17:00:36 +1100 |
---|---|---|
committer | Neil Hodgson <nyamatongwe@gmail.com> | 2023-02-22 17:00:36 +1100 |
commit | c7189cb92d357106b6bb109d71d8f8c766ddf1bb (patch) | |
tree | 94d24da95731d968d2e0ae6774ca4d44c2f41c80 | |
parent | 353d1f300549f23b7c8c2914fa5d19f5ec6aa48b (diff) | |
download | scintilla-mirror-c7189cb92d357106b6bb109d71d8f8c766ddf1bb.tar.gz |
Replace deprecated NSDragPboard with current NSPasteboardNameDrag.
-rw-r--r-- | cocoa/ScintillaCocoa.mm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cocoa/ScintillaCocoa.mm b/cocoa/ScintillaCocoa.mm index 64ea4f874..ff69aa2fd 100644 --- a/cocoa/ScintillaCocoa.mm +++ b/cocoa/ScintillaCocoa.mm @@ -1369,7 +1369,7 @@ void ScintillaCocoa::StartDrag() { // Put the data to be dragged on the drag pasteboard. SelectionText selectedText; - NSPasteboard *pasteboard = [NSPasteboard pasteboardWithName: NSDragPboard]; + NSPasteboard *pasteboard = [NSPasteboard pasteboardWithName: NSPasteboardNameDrag]; CopySelectionRange(&selectedText); SetPasteboardData(pasteboard, selectedText); |