treeview: text width fix

Huw D M Davies h.davies1 at physics.ox.ac.uk
Wed Nov 26 05:26:32 CST 2003


        Ulrich Czekalla <ulrich at codeweavers.com>
        Always recompute an item's text width in the case of text
        callbacks and when its attributes change
-- 
Huw Davies
huw at codeweavers.com
Index: dlls/comctl32/treeview.c
===================================================================
RCS file: /home/wine/wine/dlls/comctl32/treeview.c,v
retrieving revision 1.135
diff -u -r1.135 treeview.c
--- dlls/comctl32/treeview.c	26 Nov 2003 03:37:30 -0000	1.135
+++ dlls/comctl32/treeview.c	26 Nov 2003 11:22:39 -0000
@@ -844,9 +844,6 @@
 	return;
     }
 
-    if (item->textWidth != 0 && !(item->callbackMask & TVIF_TEXT))
-       return;
-
     if (hDC != 0)
     {
 	hdc = hDC;



More information about the wine-patches mailing list