shell32: Use the larger Wine logo icon in the About dialog.
This commit is contained in:
parent
77a79c48b4
commit
0dbeea5275
@ -1088,9 +1088,10 @@ BOOL WINAPI ShellAboutW( HWND hWnd, LPCWSTR szApp, LPCWSTR szOtherStuff,
|
|||||||
return FALSE;
|
return FALSE;
|
||||||
if(!(template = LoadResource(shell32_hInstance, hRes)))
|
if(!(template = LoadResource(shell32_hInstance, hRes)))
|
||||||
return FALSE;
|
return FALSE;
|
||||||
|
if (!hIcon) hIcon = LoadImageW( 0, (LPWSTR)IDI_WINLOGO, IMAGE_ICON, 48, 48, LR_SHARED );
|
||||||
info.szApp = szApp;
|
info.szApp = szApp;
|
||||||
info.szOtherStuff = szOtherStuff;
|
info.szOtherStuff = szOtherStuff;
|
||||||
info.hIcon = hIcon ? hIcon : LoadIconW( 0, (LPWSTR)IDI_WINLOGO );
|
info.hIcon = hIcon;
|
||||||
|
|
||||||
SystemParametersInfoW( SPI_GETICONTITLELOGFONT, 0, &logFont, 0 );
|
SystemParametersInfoW( SPI_GETICONTITLELOGFONT, 0, &logFont, 0 );
|
||||||
info.hFont = CreateFontIndirectW( &logFont );
|
info.hFont = CreateFontIndirectW( &logFont );
|
||||||
|
Loading…
x
Reference in New Issue
Block a user