Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-cw
Commits
5579967c
Commit
5579967c
authored
May 13, 2015
by
Alex Henrie
Committed by
Alexandre Julliard
May 14, 2015
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
user32: Use the window class icon if the MDI child doesn't have its own.
parent
f2bf0227
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
mdi.c
dlls/user32/mdi.c
+4
-0
No files found.
dlls/user32/mdi.c
View file @
5579967c
...
...
@@ -864,8 +864,12 @@ static BOOL MDI_AugmentFrameMenu( HWND frame, HWND hChild )
/* The system menu is replaced by the child icon */
hIcon
=
(
HICON
)
SendMessageW
(
hChild
,
WM_GETICON
,
ICON_SMALL
,
0
);
if
(
!
hIcon
)
hIcon
=
(
HICON
)
GetClassLongPtrW
(
hChild
,
GCLP_HICONSM
);
if
(
!
hIcon
)
hIcon
=
(
HICON
)
SendMessageW
(
hChild
,
WM_GETICON
,
ICON_BIG
,
0
);
if
(
!
hIcon
)
hIcon
=
(
HICON
)
GetClassLongPtrW
(
hChild
,
GCLP_HICON
);
if
(
!
hIcon
)
hIcon
=
LoadImageW
(
0
,
(
LPWSTR
)
IDI_WINLOGO
,
IMAGE_ICON
,
GetSystemMetrics
(
SM_CXSMICON
),
GetSystemMetrics
(
SM_CYSMICON
),
LR_DEFAULTCOLOR
);
if
(
hIcon
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment