Commit a54ac900 authored by Alexandre Julliard's avatar Alexandre Julliard

wordpad: Display the larger icon in the about box.

parent a4e01d67
...@@ -883,7 +883,7 @@ static void DialogOpenFile(void) ...@@ -883,7 +883,7 @@ static void DialogOpenFile(void)
static void dialog_about(void) static void dialog_about(void)
{ {
HINSTANCE hInstance = (HINSTANCE)GetWindowLongPtr(hMainWnd, GWLP_HINSTANCE); 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); ShellAboutW(hMainWnd, wszAppTitle, 0, icon);
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment