comctl32: listview: Recompute sizes after a column deletion.

This commit is contained in:
Mikołaj Zalewski 2006-05-17 01:20:22 +02:00 committed by Alexandre Julliard
parent a8c51a4cd9
commit 117b8e7927
1 changed files with 1 additions and 0 deletions

View File

@ -4430,6 +4430,7 @@ static BOOL LISTVIEW_DeleteColumn(LISTVIEW_INFO *infoPtr, INT nColumn)
}
/* update the other column info */
LISTVIEW_UpdateItemSize(infoPtr);
if(DPA_GetPtrCount(infoPtr->hdpaColumns) == 0)
LISTVIEW_InvalidateList(infoPtr);
else