aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--cocoa/ScintillaCocoa.mm2
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);