diff options
author | nyamatongwe <unknown> | 2011-06-15 21:36:55 +1000 |
---|---|---|
committer | nyamatongwe <unknown> | 2011-06-15 21:36:55 +1000 |
commit | 3239f7cbe4d9f86b5eb2429a9819d0ce002659d9 (patch) | |
tree | 9a841a432d67c969a7329d3ed3ea67d07be0f94e /cocoa/ScintillaCocoa.h | |
parent | e43cc031927b46462f72fbd19e32ef8378812bdc (diff) | |
download | scintilla-mirror-3239f7cbe4d9f86b5eb2429a9819d0ce002659d9.tar.gz |
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.
Diffstat (limited to 'cocoa/ScintillaCocoa.h')
-rw-r--r-- | cocoa/ScintillaCocoa.h | 3 |
1 files changed, 2 insertions, 1 deletions
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(); |