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
a056663e
Commit
a056663e
authored
Aug 12, 2021
by
Akihiro Sagawa
Committed by
Alexandre Julliard
Aug 12, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
comctl32/listbox: Fix redraw after LB_SETCOUNT message.
Signed-off-by:
Akihiro Sagawa
<
sagawa.aki@gmail.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
d3cb9a29
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
1 deletion
+2
-1
listbox.c
dlls/comctl32/listbox.c
+2
-0
listbox.c
dlls/comctl32/tests/listbox.c
+0
-1
No files found.
dlls/comctl32/listbox.c
View file @
a056663e
...
...
@@ -1830,6 +1830,8 @@ static LRESULT LISTBOX_SetCount( LB_DESCR *descr, UINT count )
if
(
!
resize_storage
(
descr
,
count
))
return
LB_ERRSPACE
;
descr
->
nb_items
=
count
;
if
(
descr
->
style
&
LBS_NOREDRAW
)
descr
->
style
|=
LBS_DISPLAYCHANGED
;
if
(
count
)
{
...
...
dlls/comctl32/tests/listbox.c
View file @
a056663e
...
...
@@ -569,7 +569,6 @@ static void test_ownerdraw(void)
got_drawitem
=
0
;
ret
=
RedrawWindow
(
hLB
,
NULL
,
0
,
RDW_UPDATENOW
);
ok
(
ret
,
"RedrawWindow failed
\n
"
);
todo_wine_if
(
testcase
[
i
].
message
==
LB_SETCOUNT
)
ok
(
got_drawitem
==
testcase
[
i
].
drawitem
,
"expected %u, got %u
\n
"
,
testcase
[
i
].
drawitem
,
got_drawitem
);
DestroyWindow
(
hLB
);
...
...
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