wordpad: Display the larger icon in the about box.
This commit is contained in:
parent
a4e01d67b5
commit
a54ac90000
|
@ -883,7 +883,7 @@ static void DialogOpenFile(void)
|
|||
static void dialog_about(void)
|
||||
{
|
||||
HINSTANCE hInstance = (HINSTANCE)GetWindowLongPtr(hMainWnd, GWLP_HINSTANCE);
|
||||
HICON icon = LoadIconW(hInstance, MAKEINTRESOURCEW(IDI_WORDPAD));
|
||||
HICON icon = LoadImageW(hInstance, MAKEINTRESOURCEW(IDI_WORDPAD), IMAGE_ICON, 48, 48, LR_SHARED);
|
||||
ShellAboutW(hMainWnd, wszAppTitle, 0, icon);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue