Bug 741959 - text input broken on OS X 10.5 from 2.24.19 onwards
Alias insertText:replacementRange: to insertText: for SDK > 10.6, and implement insertText: for SDK < 10.6.
This commit is contained in:
parent
ad6271eca9
commit
4d1c065ae8
1 changed files with 8 additions and 0 deletions
|
|
@ -186,7 +186,15 @@
|
|||
[self performSelector: aSelector];
|
||||
}
|
||||
|
||||
/* This gets called on OS X 10.6 and upwards from interpretKeyEvents */
|
||||
-(void)insertText: (id)aString replacementRange: (NSRange)replacementRange
|
||||
{
|
||||
[self insertText:aString];
|
||||
}
|
||||
|
||||
/* This gets called on OS X 10.5 from interpretKeyEvents, although 10.5
|
||||
* is supposed to support NSTextInputClient */
|
||||
-(void)insertText: (id)aString
|
||||
{
|
||||
GDK_NOTE (EVENTS, g_print ("insertText\n"));
|
||||
const char *str;
|
||||
|
|
|
|||
Loading…
Reference in a new issue