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
15e71a0a
Commit
15e71a0a
authored
May 13, 2006
by
Mikołaj Zalewski
Committed by
Alexandre Julliard
May 15, 2006
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
comctl32: header: Don't send HDN_GETDISPINFO during HDM_SET/INSERTITEM.
parent
98658699
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
20 deletions
+2
-20
header.c
dlls/comctl32/header.c
+2
-20
No files found.
dlls/comctl32/header.c
View file @
15e71a0a
...
...
@@ -1104,15 +1104,7 @@ HEADER_InsertItemT (HWND hwnd, INT nItem, LPHDITEMW phdi, BOOL bUnicode)
if
(
phdi
->
mask
&
HDI_IMAGE
)
{
if
(
phdi
->
iImage
!=
I_IMAGECALLBACK
)
{
lpItem
->
iImage
=
phdi
->
iImage
;
}
else
{
lpItem
->
iImage
=
phdi
->
iImage
;
HEADER_SendHeaderDispInfoNotify
(
hwnd
,
nItem
,
HDI_IMAGE
,
NULL
,
lpItem
,
bUnicode
);
}
lpItem
->
iImage
=
phdi
->
iImage
;
}
if
(
phdi
->
mask
&
HDI_TEXT
)
...
...
@@ -1128,7 +1120,6 @@ HEADER_InsertItemT (HWND hwnd, INT nItem, LPHDITEMW phdi, BOOL bUnicode)
else
{
lpItem
->
pszText
=
phdi
->
pszText
;
HEADER_SendHeaderDispInfoNotify
(
hwnd
,
nItem
,
HDI_TEXT
,
NULL
,
lpItem
,
bUnicode
);
}
lpItem
->
fmt
|=
HDF_STRING
;
}
...
...
@@ -1244,15 +1235,7 @@ HEADER_SetItemT (HWND hwnd, INT nItem, LPHDITEMW phdi, BOOL bUnicode)
if
(
phdi
->
mask
&
HDI_IMAGE
)
{
if
(
phdi
->
iImage
!=
I_IMAGECALLBACK
)
{
lpItem
->
iImage
=
phdi
->
iImage
;
}
else
{
lpItem
->
iImage
=
phdi
->
iImage
;
HEADER_SendHeaderDispInfoNotify
(
hwnd
,
nItem
,
HDI_IMAGE
,
NULL
,
lpItem
,
bUnicode
);
}
lpItem
->
iImage
=
phdi
->
iImage
;
}
if
(
phdi
->
mask
&
HDI_TEXT
)
...
...
@@ -1276,7 +1259,6 @@ HEADER_SetItemT (HWND hwnd, INT nItem, LPHDITEMW phdi, BOOL bUnicode)
else
{
lpItem
->
pszText
=
phdi
->
pszText
;
HEADER_SendHeaderDispInfoNotify
(
hwnd
,
nItem
,
HDI_TEXT
,
NULL
,
lpItem
,
bUnicode
);
}
}
...
...
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