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
commit1a6fd4150b6700a4f851a255f4b3c5a5f69b1cab (patch)
tree7e2bc2956dbf3acd1d66ea9042bca44d3ee3d5eb /cocoa/ScintillaView.h
parentf516491480b1de014081e32e231441f07bddeb21 (diff)
downloadscintilla-mirror-1a6fd4150b6700a4f851a255f4b3c5a5f69b1cab.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;