comparison 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
comparison
equal deleted inserted replaced
2970:94b634c56455 2971:a3012c6652ff
364 } 364 }
365 SDL_RWclose(dst); 365 SDL_RWclose(dst);
366 SDL_stack_free(icon_bmp); 366 SDL_stack_free(icon_bmp);
367 } 367 }
368 368
369 /* Set the icon */ 369 /* Set the icon for the window */
370 SendMessage(hwnd, WM_SETICON, ICON_SMALL, (LPARAM)hicon); 370 SendMessage(hwnd, WM_SETICON, ICON_SMALL, (LPARAM)hicon);
371
372 /* Set the icon in the task manager (should we do this?) */
373 SendMessage(hwnd, WM_SETICON, ICON_BIG, (LPARAM)hicon);
371 } 374 }
372 375
373 void 376 void
374 WIN_SetWindowPosition(_THIS, SDL_Window * window) 377 WIN_SetWindowPosition(_THIS, SDL_Window * window)
375 { 378 {