From 3effc9e6e4668dc6100d70e76a03a63d5248f7f0 Mon Sep 17 00:00:00 2001 From: nyamatongwe Date: Wed, 15 Jun 2011 21:36:55 +1000 Subject: Made ScintillaCocoa::ContentView public so it can be used by ScintillaView and using hwndFrom to find view so idFrom can be used as it is on other platforms. --- cocoa/ScintillaCocoa.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'cocoa/ScintillaCocoa.h') diff --git a/cocoa/ScintillaCocoa.h b/cocoa/ScintillaCocoa.h index 4f7079f23..b24938d05 100644 --- a/cocoa/ScintillaCocoa.h +++ b/cocoa/ScintillaCocoa.h @@ -116,7 +116,6 @@ private: int scrollSpeed; int scrollTicks; protected: - NSView* ContentView(); PRectangle GetClientRectangle(); Point ConvertPoint(NSPoint point); @@ -125,6 +124,8 @@ protected: virtual CaseFolder *CaseFolderForEncoding(); virtual std::string CaseMapString(const std::string &s, int caseMapping); public: + NSView* ContentView(); + ScintillaCocoa(NSView* view); virtual ~ScintillaCocoa(); -- cgit v1.2.3