• Sam Lantinga's avatar
    Guillaume Borios fixed bug #508 · 46e4acae
    Sam Lantinga authored
    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
    extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/branches/SDL-1.2%402683
    46e4acae
docs.html 13.6 KB