Guillaume Borios fixed bug #508

When unicode translation is ON, pressing the escape key raise an NSBeep()
because the NSTextView interprets the key as a special command (in that case
impossible to interpret)... The NSTextView instance should replaced by
something subclassed so that doCommandBySelector: does nothing.

Example code :

@interface SDLTranslatorResponder : NSTextView
{
}
- (void) doCommandBySelector:(SEL)myselector;
@end

@implementation SDLTranslatorResponder
- (void) doCommandBySelector:(SEL) myselector {}
@end

--HG--
branch : SDL-1.2
This commit is contained in:
Sam Lantinga
2007-12-29 21:31:26 +00:00
parent 3c8d72035f
commit fa61958343
2 changed files with 14 additions and 1 deletions

View File

@@ -79,6 +79,9 @@ SDL 1.2.13 is a minor bug fix release.
<P>
Fixed high frequency crash involving text input.
</P>
<P>
Fixed beeping when the escape key is pressed and UNICODE translation is enabled.
</P>
<P>
Improved trackpad scrolling support.
</P>