Alexandre Julliard : wordpad: Display the larger icon in the about box.
Module: wine Branch: master Commit: a54ac90000ec9ecfde1ca2600d22b8c0e3e1c5fa URL: http://source.winehq.org/git/wine.git/?a=commit;h=a54ac90000ec9ecfde1ca2600d... Author: Alexandre Julliard <julliard(a)winehq.org> Date: Wed Apr 2 20:05:33 2008 +0200 wordpad: Display the larger icon in the about box. --- programs/wordpad/wordpad.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/programs/wordpad/wordpad.c b/programs/wordpad/wordpad.c index 2df6ea7..b03ae2e 100644 --- a/programs/wordpad/wordpad.c +++ b/programs/wordpad/wordpad.c @@ -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); }
participants (1)
-
Alexandre Julliard