Module: wine Branch: master Commit: 130c655e2fa0fd7d1bf0dc385ea1511a2572834b URL: http://source.winehq.org/git/wine.git/?a=commit;h=130c655e2fa0fd7d1bf0dc385e...
Author: Michael Müller michael@fds-team.de Date: Wed Aug 19 06:24:19 2015 +0200
winecfg: Do not overwrite theme each time an item is drawn.
---
programs/winecfg/theme.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/programs/winecfg/theme.c b/programs/winecfg/theme.c index 8bc3c88..1f4818b 100644 --- a/programs/winecfg/theme.c +++ b/programs/winecfg/theme.c @@ -1094,7 +1094,7 @@ static void on_draw_item(HWND hDlg, WPARAM wParam, LPARAM lParam) HTHEME theme; RECT buttonrect;
- theme = OpenThemeData(draw_info->hwndItem, WC_BUTTONW); + theme = OpenThemeData(NULL, WC_BUTTONW);
if (theme) { MARGINS margins;