Mercurial > sdl-ios-xcode
comparison src/video/cocoa/SDL_cocoakeyboard.m @ 3138:7100a1a20143 gsoc2009_IME
Disable a debug message.
author | Jiang Jiang <gzjjgod@gmail.com> |
---|---|
date | Thu, 20 Aug 2009 04:54:24 +0000 |
parents | 962357f325e1 |
children |
comparison
equal
deleted
inserted
replaced
3137:311c678f3b2e | 3138:7100a1a20143 |
---|---|
608 data->fieldEdit = [[SDLTranslatorResponder alloc] initWithFrame:NSMakeRect(0.0, 0.0, 0.0, 0.0)]; | 608 data->fieldEdit = [[SDLTranslatorResponder alloc] initWithFrame:NSMakeRect(0.0, 0.0, 0.0, 0.0)]; |
609 [data->fieldEdit setKeyboard: data->keyboard]; | 609 [data->fieldEdit setKeyboard: data->keyboard]; |
610 | 610 |
611 if (! [[data->fieldEdit superview] isEqual: parentView]) | 611 if (! [[data->fieldEdit superview] isEqual: parentView]) |
612 { | 612 { |
613 NSLog(@"add fieldEdit to window contentView"); | 613 // NSLog(@"add fieldEdit to window contentView"); |
614 [data->fieldEdit removeFromSuperview]; | 614 [data->fieldEdit removeFromSuperview]; |
615 [parentView addSubview: data->fieldEdit]; | 615 [parentView addSubview: data->fieldEdit]; |
616 [[NSApp keyWindow] makeFirstResponder: data->fieldEdit]; | 616 [[NSApp keyWindow] makeFirstResponder: data->fieldEdit]; |
617 } | 617 } |
618 | 618 |