comparison src/video/SDL_video.c @ 3136:962357f325e1 gsoc2009_IME

Further polish API, fix crash in test program.
author Jiang Jiang <gzjjgod@gmail.com>
date Thu, 06 Aug 2009 08:59:53 +0000
parents f4e553ec6a62
children
comparison
equal deleted inserted replaced
3135:f4e553ec6a62 3136:962357f325e1
3066 } 3066 }
3067 return (_this->GetWindowWMInfo(_this, window, info)); 3067 return (_this->GetWindowWMInfo(_this, window, info));
3068 } 3068 }
3069 3069
3070 void 3070 void
3071 SDL_StartTextInput(SDL_WindowID windowID) 3071 SDL_StartTextInput(void)
3072 { 3072 {
3073 SDL_Window *window = SDL_GetWindowFromID(windowID);
3074
3075 if (_this->StartTextInput) { 3073 if (_this->StartTextInput) {
3076 _this->StartTextInput(_this, window); 3074 _this->StartTextInput(_this);
3077 } 3075 }
3078 } 3076 }
3079 3077
3080 void 3078 void
3081 SDL_StopTextInput(void) 3079 SDL_StopTextInput(void)