summaryrefslogtreecommitdiffstats
path: root/macosx/tkMacOSXPrivate.h
diff options
context:
space:
mode:
authorKevin Walzer <kw@codebykevin.com>2012-01-29 16:36:28 (GMT)
committerKevin Walzer <kw@codebykevin.com>2012-01-29 16:36:28 (GMT)
commit083df11eea2599a5abdb6a213faa2991a5e6ada1 (patch)
tree0928dd1c5453cdab0439e19104a4b93f54e59d57 /macosx/tkMacOSXPrivate.h
parentee98c5f67ad4c1b52997428b3af01c4282cd9bfa (diff)
downloadtk-083df11eea2599a5abdb6a213faa2991a5e6ada1.zip
tk-083df11eea2599a5abdb6a213faa2991a5e6ada1.tar.gz
tk-083df11eea2599a5abdb6a213faa2991a5e6ada1.tar.bz2
Fix for serious bugs with input methods, and for display of certain fonts in buttons; thanks to Adrian Robert for extensive patches
Diffstat (limited to 'macosx/tkMacOSXPrivate.h')
-rw-r--r--macosx/tkMacOSXPrivate.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/macosx/tkMacOSXPrivate.h b/macosx/tkMacOSXPrivate.h
index 347f448..034c450 100644
--- a/macosx/tkMacOSXPrivate.h
+++ b/macosx/tkMacOSXPrivate.h
@@ -316,13 +316,18 @@ VISIBILITY_HIDDEN
@end
VISIBILITY_HIDDEN
-@interface TKContentView : NSView {
+@interface TKContentView : NSView <NSTextInput> {
@private
id _savedSubviews;
BOOL _subviewsSetAside;
+ NSString *_workingText;
}
@end
+@interface TKContentView(TKKeyEvent)
+- (void) deleteWorkingText;
+@end
+
VISIBILITY_HIDDEN
@interface TKWindow : NSWindow
@end