comparison src/SDL_compat.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
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(); 1743 SDL_StartTextInput(SDL_VideoWindow);
1744 break; 1744 break;
1745 case 0: 1745 case 0:
1746 SDL_enabled_UNICODE = 0; 1746 SDL_enabled_UNICODE = 0;
1747 SDL_StopTextInput(); 1747 SDL_StopTextInput();
1748 break; 1748 break;