mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-08-29 19:26:33 +00:00
use application icon for about dialog
svn path=/trunk/; revision=41883
This commit is contained in:
@@ -641,9 +641,12 @@ MainWndProc(HWND hwnd, UINT Message, WPARAM wParam, LPARAM lParam)
|
||||
break;
|
||||
|
||||
case IDM_ABOUT:
|
||||
ShellAbout(hwnd, szAppTitle, 0, 0);
|
||||
{
|
||||
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;
|
||||
|
||||
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user