From 12f7a36132122aff3b31eae30846a6ed9d02570a Mon Sep 17 00:00:00 2001 From: Ulrich Czekalla Date: Wed, 26 Nov 2003 22:03:58 +0000 Subject: [PATCH] Always recompute an item's text width in the case of text callbacks and when its attributes change. --- dlls/comctl32/treeview.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/dlls/comctl32/treeview.c b/dlls/comctl32/treeview.c index c1a07864f84..d2a9e49a7ad 100644 --- a/dlls/comctl32/treeview.c +++ b/dlls/comctl32/treeview.c @@ -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; -- 2.11.4.GIT