comctl32: Set label width after editting.

This commit is contained in:
Piotr Caban 2007-03-26 16:34:48 +02:00 committed by Alexandre Julliard
parent c74f6d9d7a
commit 2b1f1093f0
1 changed files with 1 additions and 0 deletions

View File

@ -3806,6 +3806,7 @@ TREEVIEW_EndEditLabelNow(TREEVIEW_INFO *infoPtr, BOOL bCancel)
editedItem->pszText = ptr;
editedItem->cchTextMax = iLength + 1;
strcpyW(editedItem->pszText, newText);
TREEVIEW_ComputeTextWidth(infoPtr, editedItem, 0);
}
}
if(newText != tmpText) Free(newText);