[PATCH 2/4] user32/listbox: Fix redraw after LB_SETCOUNT message.

Akihiro Sagawa sagawa.aki at gmail.com
Thu Aug 12 07:17:42 CDT 2021

3ef790b9680cbf38fc93b4902e3ca6c9f57c5422 accidentally dropped updating
LBS_DISPLAYCHANGED flag that had been done in LISTBOX_InvalidateItems()
if the count value was changed.
In fact, the newly added test shows LB_SETCOUNT message always causes
WM_DRAWITEM requests regardless of the count value.

Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=51591
Signed-off-by: Akihiro Sagawa <sagawa.aki at gmail.com>
 dlls/user32/listbox.c       | 2 ++
 dlls/user32/tests/listbox.c | 1 -
 2 files changed, 2 insertions(+), 1 deletion(-)

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-user32-listbox-Fix-redraw-after-LB_SETCOUNT-message.patch
Type: text/x-patch
Size: 1004 bytes
Desc: not available
URL: <http://www.winehq.org/pipermail/wine-devel/attachments/20210812/cf876e33/attachment-0001.bin>

More information about the wine-devel mailing list