src/video/quartz/SDL_QuartzVideo.m
branchSDL-1.2
changeset 4123 9d90d7765fa7
parent 4090 fedb379bedd0
child 4139 568c9b3c0167
--- a/src/video/quartz/SDL_QuartzVideo.m	Sat Dec 29 20:28:21 2007 +0000
+++ b/src/video/quartz/SDL_QuartzVideo.m	Sat Dec 29 21:31:26 2007 +0000
@@ -42,6 +42,16 @@
 }
 @end
 
+@interface SDLTranslatorResponder : NSTextView
+{
+}
+- (void) doCommandBySelector:(SEL)myselector;
+@end
+
+@implementation SDLTranslatorResponder
+- (void) doCommandBySelector:(SEL) myselector {}
+@end
+
 
 /* Bootstrap functions */
 static int              QZ_Available ();
@@ -203,7 +213,7 @@
     cursor_should_be_visible    = YES;
     cursor_visible              = YES;
     current_mods = 0;
-    field_edit =  [[NSTextView alloc] initWithFrame:r];
+    field_edit =  [[SDLTranslatorResponder alloc] initWithFrame:r];
     
     if ( Gestalt(gestaltSystemVersion, &system_version) != noErr )
         system_version = 0;