(svn r25688) -Codechange: [OSX] Make our view aware of text input by IMEs.

This commit is contained in:
michi_cc
2013-08-05 20:37:40 +00:00
parent 643a294e68
commit c64e297e0c
2 changed files with 64 additions and 1 deletions

View File

@@ -232,7 +232,7 @@ uint QZ_ListModes(OTTD_Point *modes, uint max_modes, CGDirectDisplayID display_i
@end
/** Subclass of NSView to fix Quartz rendering and mouse awareness */
@interface OTTD_CocoaView : NSView {
@interface OTTD_CocoaView : NSView <NSTextInput> {
CocoaSubdriver *driver;
NSTrackingRectTag trackingtag;
}