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
43a199d5
Commit
43a199d5
authored
Jul 20, 2011
by
Nikolay Sivov
Committed by
Alexandre Julliard
Jul 20, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
comctl32/listview: Don't invalidate list on LVM_SETTEXTCOLOR.
parent
4fc8c44b
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
10 deletions
+5
-10
listview.c
dlls/comctl32/listview.c
+4
-9
listview.c
dlls/comctl32/tests/listview.c
+1
-1
No files found.
dlls/comctl32/listview.c
View file @
43a199d5
...
...
@@ -8914,22 +8914,17 @@ static BOOL LISTVIEW_SetTextBkColor(LISTVIEW_INFO *infoPtr, COLORREF color)
*
* PARAMETER(S):
* [I] infoPtr : valid pointer to the listview structure
* [I] c
lrText
: text color
* [I] c
olor
: text color
*
* RETURN:
* SUCCESS : TRUE
* FAILURE : FALSE
*/
static
BOOL
LISTVIEW_SetTextColor
(
LISTVIEW_INFO
*
infoPtr
,
COLORREF
c
lrText
)
static
BOOL
LISTVIEW_SetTextColor
(
LISTVIEW_INFO
*
infoPtr
,
COLORREF
c
olor
)
{
TRACE
(
"(clrText=%x)
\n
"
,
clrText
);
if
(
infoPtr
->
clrText
!=
clrText
)
{
infoPtr
->
clrText
=
clrText
;
LISTVIEW_InvalidateList
(
infoPtr
);
}
TRACE
(
"(color=%x)
\n
"
,
color
);
infoPtr
->
clrText
=
color
;
return
TRUE
;
}
...
...
dlls/comctl32/tests/listview.c
View file @
43a199d5
...
...
@@ -1803,7 +1803,7 @@ static void test_color(void)
rect
.
right
=
rect
.
bottom
=
1
;
r
=
GetUpdateRect
(
hwnd
,
&
rect
,
TRUE
);
todo_wine
expect
(
FALSE
,
r
);
todo_wine
ok
(
rect
.
right
==
0
&&
rect
.
bottom
==
0
,
"got update rectangle
\n
"
);
ok
(
rect
.
right
==
0
&&
rect
.
bottom
==
0
,
"got update rectangle
\n
"
);
r
=
ValidateRect
(
hwnd
,
NULL
);
expect
(
TRUE
,
r
);
...
...
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