comctl32/trackbar: Use correct state id for the focused thumb.
Signed-off-by: Zhiyi Zhang <zzhang@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
bde397d220
commit
52cdd22b52
|
@ -717,6 +717,8 @@ TRACKBAR_DrawThumb (TRACKBAR_INFO *infoPtr, HDC hdc)
|
|||
stateId = TUS_PRESSED;
|
||||
else if (infoPtr->flags & TB_THUMB_HOT)
|
||||
stateId = TUS_HOT;
|
||||
else if (infoPtr->flags & TB_IS_FOCUSED)
|
||||
stateId = TUS_FOCUSED;
|
||||
else
|
||||
stateId = TUS_NORMAL;
|
||||
|
||||
|
|
Loading…
Reference in New Issue