Commit 040850e8 authored by Robert Shearman's avatar Robert Shearman Committed by Alexandre Julliard

Don't highlight text in non-TVS_TRACKSELECT mode.

parent a286c202
......@@ -2502,7 +2502,7 @@ TREEVIEW_DrawItem(TREEVIEW_INFO *infoPtr, HDC hdc, TREEVIEW_ITEM *wineItem)
}
else
{
if (wineItem == infoPtr->hotItem)
if ((infoPtr->dwStyle & TVS_TRACKSELECT) && (wineItem == infoPtr->hotItem))
oldTextColor = SetTextColor(hdc, comctl32_color.clrHighlight);
else if (infoPtr->clrText == -1)
oldTextColor =
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment