Change the default system menu icon in MDI_AugmentFrameMenu to application icon (based on patch by tinus <o112w8r02@sneakemail.com>).

svn path=/trunk/; revision=14898
This commit is contained in:
Filip Navara 2005-05-01 07:10:47 +00:00
parent dd735b0384
commit 4913443e7e

View file

@ -1099,7 +1099,7 @@ static BOOL MDI_AugmentFrameMenu( HWND frame, HWND hChild )
if (!hIcon)
hIcon = (HICON)GetClassLongW(hChild, GCL_HICON);
if (!hIcon)
hIcon = LoadImageW(0, MAKEINTRESOURCEW(IDI_WINLOGO), IMAGE_ICON, 0, 0, LR_DEFAULTCOLOR);
hIcon = LoadIconW(NULL, IDI_APPLICATION);
if (hIcon)
{
HDC hMemDC;