26 Jul
2023
26 Jul
'23
11:24 a.m.
From: Zhaoyi <zhaoyi(a)uniontech.com> Signed-off-by: Zhaoyi <zhaoyi(a)uniontech.com> --- dlls/comctl32/listview.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/dlls/comctl32/listview.c b/dlls/comctl32/listview.c index 750e447dbef..f942bd0906d 100644 --- a/dlls/comctl32/listview.c +++ b/dlls/comctl32/listview.c @@ -5590,6 +5590,8 @@ static BOOL LISTVIEW_DeleteAllItems(LISTVIEW_INFO *infoPtr, BOOL destroy) LISTVIEW_UpdateScroll(infoPtr); } LISTVIEW_InvalidateList(infoPtr); + /* bNoItemMetrics should be reset to TRUE after calling LISTVIEW_DeleteAllItems() */ + infoPtr->bNoItemMetrics = TRUE; return TRUE; } -- GitLab https://gitlab.winehq.org/wine/wine/-/merge_requests/3392