shell32: Use the larger Wine logo icon in the About dialog.

This commit is contained in:
Alexandre Julliard 2008-03-21 18:39:11 +01:00
parent 77a79c48b4
commit 0dbeea5275
1 changed files with 2 additions and 1 deletions

View File

@ -1088,9 +1088,10 @@ BOOL WINAPI ShellAboutW( HWND hWnd, LPCWSTR szApp, LPCWSTR szOtherStuff,
return FALSE;
if(!(template = LoadResource(shell32_hInstance, hRes)))
return FALSE;
if (!hIcon) hIcon = LoadImageW( 0, (LPWSTR)IDI_WINLOGO, IMAGE_ICON, 48, 48, LR_SHARED );
info.szApp = szApp;
info.szOtherStuff = szOtherStuff;
info.hIcon = hIcon ? hIcon : LoadIconW( 0, (LPWSTR)IDI_WINLOGO );
info.hIcon = hIcon;
SystemParametersInfoW( SPI_GETICONTITLELOGFONT, 0, &logFont, 0 );
info.hFont = CreateFontIndirectW( &logFont );