Here is a another patch that fixes the regressions introduced by my last patch (found by Martin Fuchs). Changelog: * Fix things broken by the last TREEVIEW_UpdateDispInfo patch. -- Maxime Bellengà <maxime.bellenge@laposte.net>
Index: wine/dlls/comctl32/treeview.c =================================================================== RCS file: /home/wine/wine/dlls/comctl32/treeview.c,v retrieving revision 1.121 diff -u -r1.121 treeview.c --- wine/dlls/comctl32/treeview.c 13 Aug 2003 19:37:12 -0000 1.121 +++ wine/dlls/comctl32/treeview.c 15 Aug 2003 09:44:44 -0000 @@ -683,7 +683,7 @@ NMTVDISPINFOA callback; HWND hwnd = infoPtr->hwnd; - mask &= ~wineItem->callbackMask; + mask &= wineItem->callbackMask; if (mask == 0) return; @@ -1151,6 +1151,9 @@ tvItem->stateMask); wineItem->state &= ~tvItem->stateMask; wineItem->state |= (tvItem->state & tvItem->stateMask); + + if (tvItem->stateMask & TVIS_BOLD) + callbackSet |= TVIF_TEXT; } wineItem->callbackMask |= callbackSet;