Commit 4f06425a authored by Huw Davies's avatar Huw Davies Committed by Alexandre Julliard

comctl32: Set the item size after LISTVIEW_ScrollColumns().

LISTVIEW_ScrollColumns() increments the item width by the scroll delta, so we need the original width to still be present.
parent 07cc9a34
......@@ -5674,11 +5674,11 @@ 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
LISTVIEW_ScrollColumns(infoPtr, nColumn, -(rcCol.right - rcCol.left));
LISTVIEW_UpdateItemSize(infoPtr);
return TRUE;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment