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

and when its attributes change.
This commit is contained in:
Ulrich Czekalla 2003-11-26 22:03:58 +00:00 committed by Alexandre Julliard
parent 985ae970fb
commit 12f7a36132
1 changed files with 0 additions and 3 deletions

View File

@ -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;