diff options
author | nyamatongwe <nyamatongwe@gmail.com> | 2011-08-20 10:21:43 +1000 |
---|---|---|
committer | nyamatongwe <nyamatongwe@gmail.com> | 2011-08-20 10:21:43 +1000 |
commit | 29eb86f8dc7d6b95c364135443bf71e0c77dfc6a (patch) | |
tree | e484c5373f60d1c71c70bc7d1b2fab74c5ae25df | |
parent | 502fe6953ebc27dde3622ea9fa8313364c412217 (diff) | |
download | scintilla-mirror-29eb86f8dc7d6b95c364135443bf71e0c77dfc6a.tar.gz |
Specify that AutoCompletionDataSource implements NSTableViewDataSource
protocol only when building for later than 10.5 so SDK has to know about
that protocol.
-rw-r--r-- | cocoa/PlatCocoa.mm | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/cocoa/PlatCocoa.mm b/cocoa/PlatCocoa.mm index e2e2915f5..22eadec0f 100644 --- a/cocoa/PlatCocoa.mm +++ b/cocoa/PlatCocoa.mm @@ -1462,7 +1462,10 @@ public: class ListBoxImpl; @interface AutoCompletionDataSource : -NSObject <NSTableViewDataSource> +NSObject +#if MAC_OS_X_VERSION_MAX_ALLOWED > MAC_OS_X_VERSION_10_5 +<NSTableViewDataSource> +#endif { ListBoxImpl* box; } |