comparison src/video/SDL_video.c @ 4751:f3908cd80b10

Changed StopTextInput to take an SDL_Window parameter.
author dewyatt
date Sat, 10 Jul 2010 13:15:47 -0400
parents 22aa6a631d34
children 11b0a6a3eb4d
comparison
equal deleted inserted replaced
4750:22aa6a631d34 4751:f3908cd80b10
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
3397 void 3397 void
3398 SDL_StopTextInput(void) 3398 SDL_StopTextInput(SDL_Window *window)
3399 { 3399 {
3400 if (_this && _this->StopTextInput) { 3400 if (_this && _this->StopTextInput) {
3401 _this->StopTextInput(_this); 3401 _this->StopTextInput(_this, window);
3402 } 3402 }
3403 SDL_EventState(SDL_TEXTINPUT, SDL_DISABLE); 3403 SDL_EventState(SDL_TEXTINPUT, SDL_DISABLE);
3404 SDL_EventState(SDL_TEXTEDITING, SDL_DISABLE); 3404 SDL_EventState(SDL_TEXTEDITING, SDL_DISABLE);
3405 } 3405 }
3406 3406