diff src/video/win32/SDL_win32window.c @ 2971:a3012c6652ff

Should we also set the icon in the task manager?
author Sam Lantinga <slouken@libsdl.org>
date Sat, 03 Jan 2009 01:20:55 +0000
parents 94b634c56455
children 502adab079a4
line wrap: on
line diff
--- a/src/video/win32/SDL_win32window.c	Sat Jan 03 01:01:53 2009 +0000
+++ b/src/video/win32/SDL_win32window.c	Sat Jan 03 01:20:55 2009 +0000
@@ -366,8 +366,11 @@
         SDL_stack_free(icon_bmp);
     }
 
-    /* Set the icon */
+    /* Set the icon for the window */
     SendMessage(hwnd, WM_SETICON, ICON_SMALL, (LPARAM)hicon);
+
+    /* Set the icon in the task manager (should we do this?) */
+    SendMessage(hwnd, WM_SETICON, ICON_BIG, (LPARAM)hicon);
 }
 
 void