diff gui/win32/interface.c @ 33567:251a48bca536

Implement uiStop and remove outdated comment.
author reimar
date Sun, 19 Jun 2011 12:36:12 +0000
parents 71ec25d1da10
children 8860c936e5ce
line wrap: on
line diff
--- a/gui/win32/interface.c	Sun Jun 19 12:26:38 2011 +0000
+++ b/gui/win32/interface.c	Sun Jun 19 12:36:12 2011 +0000
@@ -431,6 +431,11 @@
     guiGetEvent(guiCEvent, (void *) guiSetStop);
 }
 
+void uiStop()
+{
+    guiGetEvent(guiCEvent, (void *) guiSetStop);
+}
+
 void uiSetFileName(char *dir, char *name, int type)
 {
     if(!name) return;
@@ -860,7 +865,7 @@
 
     if(!sub_window)
     {
-        WinID = -1; // so far only directx supports WinID in windows
+        WinID = -1;
 
         if(IsWindowVisible(mygui->subwindow) && guiInfo.sh_video && guiInfo.Playing)
         {