Commit 12f7a361 authored by Ulrich Czekalla's avatar Ulrich Czekalla Committed by Alexandre Julliard

Always recompute an item's text width in the case of text callbacks

and when its attributes change.
parent 985ae970
......@@ -844,9 +844,6 @@ TREEVIEW_ComputeTextWidth(TREEVIEW_INFO *infoPtr, TREEVIEW_ITEM *item, HDC hDC)
return;
}
if (item->textWidth != 0 && !(item->callbackMask & TVIF_TEXT))
return;
if (hDC != 0)
{
hdc = hDC;
......
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