wordpad: Display the larger icon in the about box.

This commit is contained in:
Alexandre Julliard 2008-04-02 20:05:33 +02:00
parent a4e01d67b5
commit a54ac90000
1 changed files with 1 additions and 1 deletions

View File

@ -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);
}