comctl32/trackbar: Update thumb unconditionally on TBM_SETTICFREQ.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
458ddd59b2
commit
a6aabe0159
|
@ -992,7 +992,6 @@ static void test_tic_settings(void)
|
|||
SendMessageA(hWndTrackbar, TBM_GETTHUMBRECT, 0, (LPARAM)&rect);
|
||||
SendMessageA(hWndTrackbar, TBM_SETTICFREQ, 1, 0);
|
||||
SendMessageA(hWndTrackbar, TBM_GETTHUMBRECT, 0, (LPARAM)&rect1);
|
||||
todo_wine
|
||||
ok(!EqualRect(&rect, &rect1), "Unexpected thumb rectangle %s, previous %s\n",
|
||||
wine_dbgstr_rect(&rect1), wine_dbgstr_rect(&rect));
|
||||
|
||||
|
|
|
@ -1429,6 +1429,7 @@ TRACKBAR_SetTicFreq (TRACKBAR_INFO *infoPtr, WORD wFreq)
|
|||
TRACKBAR_InvalidateAll(infoPtr);
|
||||
}
|
||||
|
||||
TRACKBAR_UpdateThumb (infoPtr);
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue