diff src/video/SDL_video.c @ 4913:6b89d83b0b5a

Windows candidate list support. Candidate list should now be drawn and function normally. Tested in XP and 7.
author Daniel Wyatt <Daniel.Wyatt@gmail.com>
date Tue, 23 Nov 2010 17:46:47 -0500
parents deadc1219bea
children aa8888658021
line wrap: on
line diff
--- a/src/video/SDL_video.c	Tue Nov 23 17:44:10 2010 -0500
+++ b/src/video/SDL_video.c	Tue Nov 23 17:46:47 2010 -0500
@@ -34,6 +34,11 @@
 #include "../events/SDL_sysevents.h"
 #include "../events/SDL_events_c.h"
 
+#if SDL_VIDEO_DRIVER_WIN32
+#include "win32/SDL_win32video.h"
+extern void IME_Present(SDL_VideoData *videodata);
+#endif
+
 #if SDL_VIDEO_OPENGL_ES
 #include "SDL_opengles.h"
 #endif /* SDL_VIDEO_OPENGL_ES */
@@ -2687,6 +2692,9 @@
     if (!renderer || !renderer->RenderPresent) {
         return;
     }
+#if SDL_VIDEO_DRIVER_WIN32
+    IME_Present((SDL_VideoData *)_this->driverdata);
+#endif
     renderer->RenderPresent(renderer);
 }