From 1a6fd4150b6700a4f851a255f4b3c5a5f69b1cab Mon Sep 17 00:00:00 2001 From: Neil Hodgson Date: Wed, 11 Mar 2015 09:42:11 +1100 Subject: Update drag and drop to use current APIs instead of deprecated APIs. --- cocoa/ScintillaView.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'cocoa/ScintillaView.h') diff --git a/cocoa/ScintillaView.h b/cocoa/ScintillaView.h index e328646a5..ec2c8ee14 100644 --- a/cocoa/ScintillaView.h +++ b/cocoa/ScintillaView.h @@ -70,7 +70,11 @@ extern NSString *const SCIUpdateUINotification; * SCIContentView is the Cocoa interface to the Scintilla backend. It handles text input and * provides a canvas for painting the output. */ -@interface SCIContentView : NSView +@interface SCIContentView : NSView < + NSTextInputClient, + NSUserInterfaceValidations, + NSDraggingSource, + NSDraggingDestination> { @private ScintillaView* mOwner; -- cgit v1.2.3