Mikołaj Zalewski : comctl32: listview: Recompute header size after an insertion of a column.
Alexandre Julliard
julliard at wine.codeweavers.com
Thu Jul 6 06:08:49 CDT 2006
Module: wine
Branch: refs/heads/master
Commit: 22482171572ab1e1bf9092e237a620eaf7b32e69
URL: http://source.winehq.org/git/?p=wine.git;a=commit;h=22482171572ab1e1bf9092e237a620eaf7b32e69
Author: Mikołaj Zalewski <mikolaj at zalewski.pl>
Date: Mon Jul 3 22:09:19 2006 +0200
comctl32: listview: Recompute header size after an insertion of a column.
---
dlls/comctl32/listview.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/dlls/comctl32/listview.c b/dlls/comctl32/listview.c
index 9adf764..fb4ecf6 100644
--- a/dlls/comctl32/listview.c
+++ b/dlls/comctl32/listview.c
@@ -6593,6 +6593,7 @@ static INT LISTVIEW_InsertColumnT(LISTVI
/* make space for the new column */
LISTVIEW_ScrollColumns(infoPtr, nNewColumn + 1, lpColumnInfo->rcHeader.right - lpColumnInfo->rcHeader.left);
+ LISTVIEW_UpdateItemSize(infoPtr);
return nNewColumn;
More information about the wine-cvs
mailing list