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
a18886e5
Commit
a18886e5
authored
Jul 09, 2009
by
Nikolay Sivov
Committed by
Alexandre Julliard
Jul 10, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
comctl32/header: Always update rectangles after HDM_SETORDERARRAY.
parent
67d2292b
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
header.c
dlls/comctl32/header.c
+1
-1
header.c
dlls/comctl32/tests/header.c
+1
-1
No files found.
dlls/comctl32/header.c
View file @
a18886e5
...
@@ -1210,7 +1210,7 @@ HEADER_SetOrderArray(HEADER_INFO *infoPtr, INT size, const INT *order)
...
@@ -1210,7 +1210,7 @@ HEADER_SetOrderArray(HEADER_INFO *infoPtr, INT size, const INT *order)
lpItem
=
&
infoPtr
->
items
[
*
order
++
];
lpItem
=
&
infoPtr
->
items
[
*
order
++
];
lpItem
->
iOrder
=
i
;
lpItem
->
iOrder
=
i
;
}
}
infoPtr
->
bRectsValid
=
0
;
HEADER_SetItemBounds
(
infoPtr
)
;
InvalidateRect
(
infoPtr
->
hwndSelf
,
NULL
,
FALSE
);
InvalidateRect
(
infoPtr
->
hwndSelf
,
NULL
,
FALSE
);
return
TRUE
;
return
TRUE
;
}
}
...
...
dlls/comctl32/tests/header.c
View file @
a18886e5
...
@@ -1175,7 +1175,7 @@ static void test_hdm_index_messages(HWND hParent)
...
@@ -1175,7 +1175,7 @@ static void test_hdm_index_messages(HWND hParent)
rect
.
left
=
0
;
rect
.
left
=
0
;
retVal
=
SendMessage
(
hChild
,
HDM_GETITEMRECT
,
0
,
(
LPARAM
)
&
rect
);
retVal
=
SendMessage
(
hChild
,
HDM_GETITEMRECT
,
0
,
(
LPARAM
)
&
rect
);
expect
(
TRUE
,
retVal
);
expect
(
TRUE
,
retVal
);
todo_wine
ok
(
rect
.
left
!=
0
,
"Expected updated rectangle
\n
"
);
ok
(
rect
.
left
!=
0
,
"Expected updated rectangle
\n
"
);
flush_sequences
(
sequences
,
NUM_MSG_SEQUENCES
);
flush_sequences
(
sequences
,
NUM_MSG_SEQUENCES
);
...
...
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