Redraw if bold state changes.
This commit is contained in:
parent
7d6afc5ddc
commit
d78dfc8e44
|
@ -2087,7 +2087,8 @@ TREEVIEW_SetItemW(TREEVIEW_INFO *infoPtr, LPTVITEMEXW tvItem)
|
|||
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)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue