Author: mkupfer
Date: Sun May 17 18:56:03 2009
New Revision: 40958
URL:
http://svn.reactos.org/svn/reactos?rev=40958&view=rev
Log:
- unify look of basic apps
- use icon for info box and remove text
Modified:
trunk/reactos/base/applications/notepad/dialog.c
Modified: trunk/reactos/base/applications/notepad/dialog.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/notepad/…
==============================================================================
--- trunk/reactos/base/applications/notepad/dialog.c [iso-8859-1] (original)
+++ trunk/reactos/base/applications/notepad/dialog.c [iso-8859-1] Sun May 17 18:56:03
2009
@@ -963,11 +963,12 @@
VOID DIALOG_HelpAboutWine(VOID)
{
- static const TCHAR notepad[] = _T("Notepad\n");
TCHAR szNotepad[MAX_STRING_LEN];
+ HICON notepadIcon = LoadIcon(Globals.hInstance, MAKEINTRESOURCE(IDI_NPICON));
LoadString(Globals.hInstance, STRING_NOTEPAD, szNotepad, SIZEOF(szNotepad));
- ShellAbout(Globals.hMainWnd, szNotepad, notepad, 0);
+ ShellAbout(Globals.hMainWnd, szNotepad, 0, notepadIcon);
+ DeleteObject(notepadIcon);
}