Module: wine Branch: refs/heads/master Commit: f86270a02259dfd74f825f14d5898294b6c57357 URL: http://source.winehq.org/git/?p=wine.git;a=commit;h=f86270a02259dfd74f825f14... Author: Mike McCormack <mike(a)codeweavers.com> Date: Thu Jun 15 16:05:48 2006 +0900 comctl32: Arrange the listview after deleting all items so we will place icons at the top again. --- dlls/comctl32/listview.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/dlls/comctl32/listview.c b/dlls/comctl32/listview.c index ee1f8d2..9adf764 100644 --- a/dlls/comctl32/listview.c +++ b/dlls/comctl32/listview.c @@ -4294,8 +4294,8 @@ static BOOL LISTVIEW_DeleteAllItems(LIST infoPtr->nItemCount --; } + LISTVIEW_Arrange(infoPtr, LVA_DEFAULT); LISTVIEW_UpdateScroll(infoPtr); - LISTVIEW_InvalidateList(infoPtr); return TRUE;