Author: mkupfer
Date: Wed May 25 11:22:36 2011
New Revision: 51902
URL:
http://svn.reactos.org/svn/reactos?rev=51902&view=rev
Log:
use application specific icon for small AND large icon instead of predefined one
(otherwise alt-tab shows default icon)
Modified:
trunk/reactos/base/applications/mspaint/main.c
Modified: trunk/reactos/base/applications/mspaint/main.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/mspaint/…
==============================================================================
--- trunk/reactos/base/applications/mspaint/main.c [iso-8859-1] (original)
+++ trunk/reactos/base/applications/mspaint/main.c [iso-8859-1] Wed May 25 11:22:36 2011
@@ -168,8 +168,8 @@
wincl.lpfnWndProc = WindowProcedure;
wincl.style = CS_DBLCLKS;
wincl.cbSize = sizeof(WNDCLASSEX);
- wincl.hIcon = LoadIcon(NULL, IDI_APPLICATION);
- wincl.hIconSm = LoadIcon(hThisInstance, MAKEINTRESOURCE(500));
+ wincl.hIcon = LoadIcon(hThisInstance, MAKEINTRESOURCE(IDI_APPICON));
+ wincl.hIconSm = LoadIcon(hThisInstance, MAKEINTRESOURCE(IDI_APPICON));
wincl.hCursor = LoadCursor(NULL, IDC_ARROW);
wincl.lpszMenuName = NULL;
wincl.cbClsExtra = 0;