treeview: bold state change

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Alexandre, please apply after 'treeview: text width fix' patch.

        Aric Stewart <aric@xxxxxxxxxxxxxxx>       
        Redraw if bold state changes                
-- 
Huw Davies
huw@xxxxxxxxxxxxxxx
--- winehq.orig/dlls/comctl32/treeview.c	2003-11-26 11:29:30.000000000 +0000
+++ winehq/dlls/comctl32/treeview.c	2003-11-26 11:34:00.000000000 +0000
@@ -2087,7 +2087,8 @@ TREEVIEW_SetItemW(TREEVIEW_INFO *infoPtr
 	TREEVIEW_ComputeItemInternalMetrics(infoPtr, wineItem);
 
         /* if any of the items values changed, redraw the item */
-        if(memcmp(&originalItem, wineItem, sizeof(TREEVIEW_ITEM)))
+        if(memcmp(&originalItem, wineItem, sizeof(TREEVIEW_ITEM)) ||
+           (tvItem->stateMask & TVIS_BOLD))
         {
             if (tvItem->mask & TVIF_INTEGRAL)
 	    {


[Index of Archives]     [Gimp for Windows]     [Red Hat]     [Samba]     [Yosemite Camping]     [Graphics Cards]     [Wine Home]

  Powered by Linux