Commit 130c655e authored by Michael Müller's avatar Michael Müller Committed by Alexandre Julliard

winecfg: Do not overwrite theme each time an item is drawn.

parent 9e22949c
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment