aboutsummaryrefslogtreecommitdiffhomepage
path: root/cocoa/ScintillaView.h
diff options
context:
space:
mode:
authorNeil Hodgson <nyamatongwe@gmail.com>2015-03-11 09:42:11 +1100
committerNeil Hodgson <nyamatongwe@gmail.com>2015-03-11 09:42:11 +1100
commit4a976d45762201f2dbe979a2df648e97dc7d0924 (patch)
tree79a0dc419e11ad47e60bff6c881b8f04d5bbfa29 /cocoa/ScintillaView.h
parente76e39d4138601943ca691d8c42531cd92b0124f (diff)
downloadscintilla-mirror-4a976d45762201f2dbe979a2df648e97dc7d0924.tar.gz
Update drag and drop to use current APIs instead of deprecated APIs.
Diffstat (limited to 'cocoa/ScintillaView.h')
-rw-r--r--cocoa/ScintillaView.h6
1 files changed, 5 insertions, 1 deletions
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 <NSTextInputClient, NSUserInterfaceValidations>
+@interface SCIContentView : NSView <
+ NSTextInputClient,
+ NSUserInterfaceValidations,
+ NSDraggingSource,
+ NSDraggingDestination>
{
@private
ScintillaView* mOwner;