regedit: Display a larger icon in the About box.

This commit is contained in:
Alexandre Julliard 2008-03-25 16:14:35 +01:00
parent c440322647
commit 255e7b4274

View file

@ -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);
} }