comparison src/video/SDL_video.c @ 4750:22aa6a631d34

Changed StartTextInput to take an SDL_Window parameter.
author dewyatt
date Thu, 08 Jul 2010 01:35:47 -0400
parents 791b3256fb22
children f3908cd80b10
comparison
equal deleted inserted replaced
4749:0fa503d49cb4 4750:22aa6a631d34
3383 } 3383 }
3384 return (_this->GetWindowWMInfo(_this, window, info)); 3384 return (_this->GetWindowWMInfo(_this, window, info));
3385 } 3385 }
3386 3386
3387 void 3387 void
3388 SDL_StartTextInput(void) 3388 SDL_StartTextInput(SDL_Window *window)
3389 { 3389 {
3390 if (_this && _this->StartTextInput) { 3390 if (_this && _this->StartTextInput) {
3391 _this->StartTextInput(_this); 3391 _this->StartTextInput(_this, window);
3392 } 3392 }
3393 SDL_EventState(SDL_TEXTINPUT, SDL_ENABLE); 3393 SDL_EventState(SDL_TEXTINPUT, SDL_ENABLE);
3394 SDL_EventState(SDL_TEXTEDITING, SDL_ENABLE); 3394 SDL_EventState(SDL_TEXTEDITING, SDL_ENABLE);
3395 } 3395 }
3396 3396