comparison src/SDL_compat.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 518d1679d2d0
comparison
equal deleted inserted replaced
4752:dc7bdcf06367 4753:11b0a6a3eb4d
1738 int previous = SDL_enabled_UNICODE; 1738 int previous = SDL_enabled_UNICODE;
1739 1739
1740 switch (enable) { 1740 switch (enable) {
1741 case 1: 1741 case 1:
1742 SDL_enabled_UNICODE = 1; 1742 SDL_enabled_UNICODE = 1;
1743 SDL_StartTextInput(SDL_VideoWindow); 1743 SDL_StartTextInput();
1744 break; 1744 break;
1745 case 0: 1745 case 0:
1746 SDL_enabled_UNICODE = 0; 1746 SDL_enabled_UNICODE = 0;
1747 SDL_StopTextInput(SDL_VideoWindow); 1747 SDL_StopTextInput();
1748 break; 1748 break;
1749 } 1749 }
1750 return previous; 1750 return previous;
1751 } 1751 }
1752 1752