mirror of
https://github.com/reactos/reactos.git
synced 2025-08-05 14:53:40 +00:00
Change the default system menu icon in MDI_AugmentFrameMenu to application icon (based on patch by tinus <o112w8r02@sneakemail.com>).
svn path=/trunk/; revision=14898
This commit is contained in:
parent
dd735b0384
commit
4913443e7e
1 changed files with 1 additions and 1 deletions
|
@ -1099,7 +1099,7 @@ static BOOL MDI_AugmentFrameMenu( HWND frame, HWND hChild )
|
||||||
if (!hIcon)
|
if (!hIcon)
|
||||||
hIcon = (HICON)GetClassLongW(hChild, GCL_HICON);
|
hIcon = (HICON)GetClassLongW(hChild, GCL_HICON);
|
||||||
if (!hIcon)
|
if (!hIcon)
|
||||||
hIcon = LoadImageW(0, MAKEINTRESOURCEW(IDI_WINLOGO), IMAGE_ICON, 0, 0, LR_DEFAULTCOLOR);
|
hIcon = LoadIconW(NULL, IDI_APPLICATION);
|
||||||
if (hIcon)
|
if (hIcon)
|
||||||
{
|
{
|
||||||
HDC hMemDC;
|
HDC hMemDC;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue