comctl32: Set label width after editting.
This commit is contained in:
parent
c74f6d9d7a
commit
2b1f1093f0
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue