diff src/video/SDL_video.c @ 4753:11b0a6a3eb4d

Changed Start/StopTextInput back to not take any parameters. We call SDL_GetKeyboardFocus internally now.
author dewyatt
date Mon, 12 Jul 2010 14:17:43 -0400
parents f3908cd80b10
children 436183eb30c8
line wrap: on
line diff
--- a/src/video/SDL_video.c	Mon Jul 12 11:33:27 2010 -0400
+++ b/src/video/SDL_video.c	Mon Jul 12 14:17:43 2010 -0400
@@ -3385,20 +3385,20 @@
 }
 
 void
-SDL_StartTextInput(SDL_Window *window)
+SDL_StartTextInput(void)
 {
     if (_this && _this->StartTextInput) {
-        _this->StartTextInput(_this, window);
+        _this->StartTextInput(_this);
     }
     SDL_EventState(SDL_TEXTINPUT, SDL_ENABLE);
     SDL_EventState(SDL_TEXTEDITING, SDL_ENABLE);
 }
 
 void
-SDL_StopTextInput(SDL_Window *window)
+SDL_StopTextInput(void)
 {
     if (_this && _this->StopTextInput) {
-        _this->StopTextInput(_this, window);
+        _this->StopTextInput(_this);
     }
     SDL_EventState(SDL_TEXTINPUT, SDL_DISABLE);
     SDL_EventState(SDL_TEXTEDITING, SDL_DISABLE);