Author: mkupfer
Date: Sat Jul 11 17:34:18 2009
New Revision: 41883
URL:
http://svn.reactos.org/svn/reactos?rev=41883&view=rev
Log:
use application icon for about dialog
Modified:
trunk/reactos/base/applications/mplay32/mplay32.c
trunk/reactos/base/applications/mplay32/mplay32.rbuild
Modified: trunk/reactos/base/applications/mplay32/mplay32.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/mplay32/…
==============================================================================
--- trunk/reactos/base/applications/mplay32/mplay32.c [iso-8859-1] (original)
+++ trunk/reactos/base/applications/mplay32/mplay32.c [iso-8859-1] Sat Jul 11 17:34:18
2009
@@ -641,9 +641,12 @@
break;
case IDM_ABOUT:
- ShellAbout(hwnd, szAppTitle, 0, 0);
- break;
-
+ {
+ HICON mplayIcon = LoadIcon(hInstance, MAKEINTRESOURCE(IDI_MAIN));
+ ShellAbout(hwnd, szAppTitle, 0, mplayIcon);
+ DeleteObject(mplayIcon);
+ break;
+ }
case IDM_EXIT:
PostMessage(hwnd, WM_CLOSE, 0, 0);
return 0;
Modified: trunk/reactos/base/applications/mplay32/mplay32.rbuild
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/mplay32/…
==============================================================================
--- trunk/reactos/base/applications/mplay32/mplay32.rbuild [iso-8859-1] (original)
+++ trunk/reactos/base/applications/mplay32/mplay32.rbuild [iso-8859-1] Sat Jul 11
17:34:18 2009
@@ -5,6 +5,7 @@
<library>comdlg32</library>
<library>kernel32</library>
<library>user32</library>
+ <library>gdi32</library>
<library>winmm</library>
<library>shell32</library>
<file>mplay32.c</file>