user32: Get MDI icon as close the "small icon" as possible.

This commit is contained in:
Marcus Meissner 2011-01-27 16:38:03 +01:00 committed by Alexandre Julliard
parent a8308dd017
commit 6e077e0bc0
1 changed files with 1 additions and 1 deletions

View File

@ -866,7 +866,7 @@ static BOOL MDI_AugmentFrameMenu( HWND frame, HWND hChild )
if (!hIcon)
hIcon = (HICON)SendMessageW(hChild, WM_GETICON, ICON_BIG, 0);
if (!hIcon)
hIcon = LoadImageW(0, MAKEINTRESOURCEW(IDI_WINLOGO), IMAGE_ICON, 0, 0, LR_DEFAULTCOLOR);
hIcon = LoadImageW(0, MAKEINTRESOURCEW(IDI_WINLOGO), IMAGE_ICON, GetSystemMetrics(SM_CXSMICON), GetSystemMetrics(SM_CYSMICON), LR_DEFAULTCOLOR);
if (hIcon)
{
HDC hMemDC;