Zhao Yi : comctl32/listview: Reset bNoItemMetrics to make sure that listview items can be arranged correctly.
Module: wine Branch: master Commit: 314c94e100907815c6932cfbedcddf231932630c URL: https://gitlab.winehq.org/wine/wine/-/commit/314c94e100907815c6932cfbedcddf2... Author: Zhao Yi <zhaoyi(a)uniontech.com> Date: Wed Jul 26 21:00:29 2023 +0800 comctl32/listview: Reset bNoItemMetrics to make sure that listview items can be arranged correctly. Signed-off-by: Zhao Yi <zhaoyi(a)uniontech.com> --- dlls/comctl32/listview.c | 1 + 1 file changed, 1 insertion(+) diff --git a/dlls/comctl32/listview.c b/dlls/comctl32/listview.c index 750e447dbef..7972be9669d 100644 --- a/dlls/comctl32/listview.c +++ b/dlls/comctl32/listview.c @@ -5590,6 +5590,7 @@ static BOOL LISTVIEW_DeleteAllItems(LISTVIEW_INFO *infoPtr, BOOL destroy) LISTVIEW_UpdateScroll(infoPtr); } LISTVIEW_InvalidateList(infoPtr); + infoPtr->bNoItemMetrics = TRUE; return TRUE; }
participants (1)
-
Alexandre Julliard