Should we also set the icon in the task manager?
authorSam Lantinga <slouken@libsdl.org>
Sat, 03 Jan 2009 01:20:55 +0000
changeset 2971a3012c6652ff
parent 2970 94b634c56455
child 2972 0a4b70368372
Should we also set the icon in the task manager?
src/video/win32/SDL_win32window.c
     1.1 --- a/src/video/win32/SDL_win32window.c	Sat Jan 03 01:01:53 2009 +0000
     1.2 +++ b/src/video/win32/SDL_win32window.c	Sat Jan 03 01:20:55 2009 +0000
     1.3 @@ -366,8 +366,11 @@
     1.4          SDL_stack_free(icon_bmp);
     1.5      }
     1.6  
     1.7 -    /* Set the icon */
     1.8 +    /* Set the icon for the window */
     1.9      SendMessage(hwnd, WM_SETICON, ICON_SMALL, (LPARAM)hicon);
    1.10 +
    1.11 +    /* Set the icon in the task manager (should we do this?) */
    1.12 +    SendMessage(hwnd, WM_SETICON, ICON_BIG, (LPARAM)hicon);
    1.13  }
    1.14  
    1.15  void