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
c1e40a8b
Commit
c1e40a8b
authored
Jun 05, 2012
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
shell32: Use a default icon for control panels without one.
parent
d4c8f771
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
control.c
dlls/shell32/control.c
+4
-2
No files found.
dlls/shell32/control.c
View file @
c1e40a8b
...
...
@@ -301,8 +301,10 @@ static void Control_WndProc_Create(HWND hWnd, const CREATESTRUCTW* cs)
if
(
InsertMenuItemW
(
hSubMenu
,
menucount
,
TRUE
,
&
mii
))
{
/* add the list view item */
index
=
ImageList_AddIcon
(
panel
->
hImageListLarge
,
applet
->
info
[
i
].
icon
);
ImageList_AddIcon
(
panel
->
hImageListSmall
,
applet
->
info
[
i
].
icon
);
HICON
icon
=
applet
->
info
[
i
].
icon
;
if
(
!
icon
)
icon
=
LoadImageW
(
0
,
(
LPCWSTR
)
IDI_WINLOGO
,
IMAGE_ICON
,
0
,
0
,
LR_SHARED
);
index
=
ImageList_AddIcon
(
panel
->
hImageListLarge
,
icon
);
ImageList_AddIcon
(
panel
->
hImageListSmall
,
icon
);
lvItem
.
mask
=
LVIF_IMAGE
|
LVIF_TEXT
|
LVIF_PARAM
;
lvItem
.
iItem
=
menucount
;
...
...
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