Mercurial > sdl-ios-xcode
view src/main/macosx/SDLMain.nib/info.nib @ 4123:9d90d7765fa7 SDL-1.2
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
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Sat, 29 Dec 2007 21:31:26 +0000 |
parents | e92aa316c517 |
children |
line wrap: on
line source
<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE plist SYSTEM "file://localhost/System/Library/DTDs/PropertyList.dtd"> <plist version="0.9"> <dict> <key>IBDocumentLocation</key> <string>49 97 356 240 0 0 987 746 </string> <key>IBMainMenuLocation</key> <string>20 515 195 44 0 46 800 532 </string> <key>IBUserGuides</key> <dict/> </dict> </plist>