Module: wine Branch: master Commit: 255e7b427435df3079fb0db7e96646a2f80f88d4 URL: http://source.winehq.org/git/wine.git/?a=commit;h=255e7b427435df3079fb0db7e9...
Author: Alexandre Julliard julliard@winehq.org Date: Tue Mar 25 16:14:35 2008 +0100
regedit: Display a larger icon in the About box.
---
programs/regedit/about.c | 7 ++++--- 1 files changed, 4 insertions(+), 3 deletions(-)
diff --git a/programs/regedit/about.c b/programs/regedit/about.c index 7258a4d..89960ad 100644 --- a/programs/regedit/about.c +++ b/programs/regedit/about.c @@ -28,7 +28,8 @@
void ShowAboutBox(HWND hWnd) { - TCHAR title[64]; - LoadString(hInst, IDS_APP_TITLE, title, COUNT_OF(title)); - ShellAbout(hWnd, title, _T(""), LoadIcon(hInst, MAKEINTRESOURCE(IDI_REGEDIT))); + WCHAR title[64]; + HICON icon = LoadImageW( hInst, MAKEINTRESOURCEW(IDI_REGEDIT), IMAGE_ICON, 48, 48, LR_SHARED ); + LoadStringW(hInst, IDS_APP_TITLE, title, COUNT_OF(title)); + ShellAboutW(hWnd, title, NULL, icon); }