src/video/quartz/SDL_QuartzVideo.m
branchSDL-1.2
changeset 4123 9d90d7765fa7
parent 4090 fedb379bedd0
child 4139 568c9b3c0167
     1.1 --- a/src/video/quartz/SDL_QuartzVideo.m	Sat Dec 29 20:28:21 2007 +0000
     1.2 +++ b/src/video/quartz/SDL_QuartzVideo.m	Sat Dec 29 21:31:26 2007 +0000
     1.3 @@ -42,6 +42,16 @@
     1.4  }
     1.5  @end
     1.6  
     1.7 +@interface SDLTranslatorResponder : NSTextView
     1.8 +{
     1.9 +}
    1.10 +- (void) doCommandBySelector:(SEL)myselector;
    1.11 +@end
    1.12 +
    1.13 +@implementation SDLTranslatorResponder
    1.14 +- (void) doCommandBySelector:(SEL) myselector {}
    1.15 +@end
    1.16 +
    1.17  
    1.18  /* Bootstrap functions */
    1.19  static int              QZ_Available ();
    1.20 @@ -203,7 +213,7 @@
    1.21      cursor_should_be_visible    = YES;
    1.22      cursor_visible              = YES;
    1.23      current_mods = 0;
    1.24 -    field_edit =  [[NSTextView alloc] initWithFrame:r];
    1.25 +    field_edit =  [[SDLTranslatorResponder alloc] initWithFrame:r];
    1.26      
    1.27      if ( Gestalt(gestaltSystemVersion, &system_version) != noErr )
    1.28          system_version = 0;