Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
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-winehq
Commits
27bffea1
Commit
27bffea1
authored
Aug 01, 2015
by
Mark Harmstone
Committed by
Alexandre Julliard
Aug 03, 2015
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
user32: Specify size for default window icon in NC_IconForWindow.
parent
0adad1f5
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
nonclient.c
dlls/user32/nonclient.c
+2
-1
No files found.
dlls/user32/nonclient.c
View file @
27bffea1
...
...
@@ -172,7 +172,8 @@ static HICON NC_IconForWindow( HWND hwnd )
* get the default one.
*/
if
(
!
hIcon
&&
(
GetWindowLongW
(
hwnd
,
GWL_STYLE
)
&
DS_MODALFRAME
))
hIcon
=
LoadImageW
(
0
,
(
LPCWSTR
)
IDI_WINLOGO
,
IMAGE_ICON
,
0
,
0
,
LR_DEFAULTCOLOR
);
hIcon
=
LoadImageW
(
0
,
(
LPCWSTR
)
IDI_WINLOGO
,
IMAGE_ICON
,
GetSystemMetrics
(
SM_CXSMICON
),
GetSystemMetrics
(
SM_CYSMICON
),
LR_DEFAULTCOLOR
);
return
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