Alexandre Julliard : wordpad: Display the larger icon in the about box.

Alexandre Julliard julliard at winehq.org
Wed Apr 2 16:36:20 CDT 2008


Module: wine
Branch: master
Commit: a54ac90000ec9ecfde1ca2600d22b8c0e3e1c5fa
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=a54ac90000ec9ecfde1ca2600d22b8c0e3e1c5fa

Author: Alexandre Julliard <julliard at 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);
 }
 




More information about the wine-cvs mailing list