7 Nov
2025
7 Nov
'25
2:16 p.m.
Nikolay Sivov (@nsivov) commented about dlls/comctl32/progress.c:
/* draw themed horizontal bar from 'start' to 'end' */ static void draw_theme_bar_H (const ProgressDrawInfo* di, int start, int end) { + HTHEME theme = GetWindowTheme (di->infoPtr->Self); RECT r; r.left = di->rect.left + start; r.top = di->rect.top; r.bottom = di->rect.bottom; r.right = di->rect.left + end; - DrawThemeBackground (di->theme, di->hdc, PP_FILL, di->infoPtr->State, &r, NULL); + DrawThemeBackground (theme, di->hdc, PP_FILL, di->infoPtr->State, &r, NULL); Should we remove HTHEME from ProgressDrawInfo then?
-- https://gitlab.winehq.org/wine/wine/-/merge_requests/9392#note_121218