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
caa91dcb
Commit
caa91dcb
authored
Jun 14, 2009
by
Nikolay Sivov
Committed by
Alexandre Julliard
Jun 15, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
comctl32/listview: Don't offset subitems on painting.
parent
89f0bdff
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
listview.c
dlls/comctl32/listview.c
+3
-2
No files found.
dlls/comctl32/listview.c
View file @
caa91dcb
...
@@ -4151,15 +4151,16 @@ static void LISTVIEW_RefreshReport(LISTVIEW_INFO *infoPtr, ITERATOR *i, HDC hdc,
...
@@ -4151,15 +4151,16 @@ static void LISTVIEW_RefreshReport(LISTVIEW_INFO *infoPtr, ITERATOR *i, HDC hdc,
while
(
iterator_next
(
i
))
while
(
iterator_next
(
i
))
{
{
LISTVIEW_GetItemOrigin
(
infoPtr
,
i
->
nItem
,
&
Position
);
LISTVIEW_GetItemOrigin
(
infoPtr
,
i
->
nItem
,
&
Position
);
Position
.
x
+=
Origin
.
x
;
Position
.
y
+=
Origin
.
y
;
Position
.
y
+=
Origin
.
y
;
/* iterate through the invalidated columns */
/* iterate through the invalidated columns */
while
(
iterator_next
(
&
j
))
while
(
iterator_next
(
&
j
))
{
{
LISTVIEW_GetHeaderRect
(
infoPtr
,
j
.
nItem
,
&
rcItem
);
Position
.
x
=
(
j
.
nItem
==
0
)
?
rcItem
.
left
+
Origin
.
x
:
Origin
.
x
;
if
(
rgntype
==
COMPLEXREGION
&&
!
((
infoPtr
->
dwLvExStyle
&
LVS_EX_FULLROWSELECT
)
&&
j
.
nItem
==
0
))
if
(
rgntype
==
COMPLEXREGION
&&
!
((
infoPtr
->
dwLvExStyle
&
LVS_EX_FULLROWSELECT
)
&&
j
.
nItem
==
0
))
{
{
LISTVIEW_GetHeaderRect
(
infoPtr
,
j
.
nItem
,
&
rcItem
);
rcItem
.
top
=
0
;
rcItem
.
top
=
0
;
rcItem
.
bottom
=
infoPtr
->
nItemHeight
;
rcItem
.
bottom
=
infoPtr
->
nItemHeight
;
OffsetRect
(
&
rcItem
,
Position
.
x
,
Position
.
y
);
OffsetRect
(
&
rcItem
,
Position
.
x
,
Position
.
y
);
...
...
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