summaryrefslogtreecommitdiffstats
path: root/macosx/tkMacOSXPrivate.h
diff options
context:
space:
mode:
authorKevin Walzer <kw@codebykevin.com>2014-07-25 17:04:32 (GMT)
committerKevin Walzer <kw@codebykevin.com>2014-07-25 17:04:32 (GMT)
commit70e46f4111270421e799c112aa766a9f71a6d18e (patch)
treea56d353223531ad17562e901c4fc7a5163124835 /macosx/tkMacOSXPrivate.h
parentc14530201df3f512c68f49728a3b8fcd2755bfcc (diff)
downloadtk-70e46f4111270421e799c112aa766a9f71a6d18e.zip
tk-70e46f4111270421e799c112aa766a9f71a6d18e.tar.gz
tk-70e46f4111270421e799c112aa766a9f71a6d18e.tar.bz2
Add copyright notice to Marc Culler for extensive patch to alpha rendering on Mac/Cocoa; remove private API calls to comply with platform requirements.
Diffstat (limited to 'macosx/tkMacOSXPrivate.h')
-rw-r--r--macosx/tkMacOSXPrivate.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/macosx/tkMacOSXPrivate.h b/macosx/tkMacOSXPrivate.h
index 412d135..fd32c4b 100644
--- a/macosx/tkMacOSXPrivate.h
+++ b/macosx/tkMacOSXPrivate.h
@@ -320,9 +320,12 @@ VISIBILITY_HIDDEN
VISIBILITY_HIDDEN
@interface TKContentView : NSView <NSTextInput> {
@private
+ /*Remove private API calls.*/
+ #if 0
id _savedSubviews;
BOOL _subviewsSetAside;
- NSString *_workingText;
+ #endif
+ NSString *privateWorkingText;
}
@end
@@ -362,9 +365,12 @@ VISIBILITY_HIDDEN
keyEquivalentModifierMask:(NSUInteger)keyEquivalentModifierMask;
@end
+//Remove private API calls here: not necessary for systems >= 10.7
+#if 0
/* From WebKit/WebKit/mac/WebCoreSupport/WebChromeClient.mm: */
@interface NSWindow(TKGrowBoxRect)
- (NSRect)_growBoxRect;
@end
+#endif
#endif /* _TKMACPRIV */