[2/2] comctl32: tab.c The Item Interior should use HotTracking color not Hilight color (resend).

Alexandre Julliard julliard at winehq.org
Wed Mar 26 05:28:50 CDT 2008


Anatoly Lyutin <vostok at etersoft.ru> writes:

> @@ -1633,7 +1633,7 @@ TAB_DrawItemInterior(const TAB_INFO *inf
>        SetTextColor(hdc, (((lStyle & TCS_HOTTRACK) && (iItem == infoPtr->iHotTracked) 
>                            && !(lStyle & TCS_FLATBUTTONS)) 
>                          | (TAB_GetItem(infoPtr, iItem)->dwState & TCIS_HIGHLIGHTED)) ?
> -                        comctl32_color.clrHighlight : comctl32_color.clrBtnText);
> +                        comctl32_color.clrHotTrackingColor : comctl32_color.clrBtnText);

Shouldn't you distinguish between TCS_HOTTRACK and TCIS_HIGHLIGHTED
here?

-- 
Alexandre Julliard
julliard at winehq.org



More information about the wine-devel mailing list