Commit 255e7b42 authored by Alexandre Julliard's avatar Alexandre Julliard

regedit: Display a larger icon in the About box.

parent c4403226
...@@ -28,7 +28,8 @@ ...@@ -28,7 +28,8 @@
void ShowAboutBox(HWND hWnd) void ShowAboutBox(HWND hWnd)
{ {
TCHAR title[64]; WCHAR title[64];
LoadString(hInst, IDS_APP_TITLE, title, COUNT_OF(title)); HICON icon = LoadImageW( hInst, MAKEINTRESOURCEW(IDI_REGEDIT), IMAGE_ICON, 48, 48, LR_SHARED );
ShellAbout(hWnd, title, _T(""), LoadIcon(hInst, MAKEINTRESOURCE(IDI_REGEDIT))); LoadStringW(hInst, IDS_APP_TITLE, title, COUNT_OF(title));
ShellAboutW(hWnd, title, NULL, 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