winecfg: Do not overwrite theme each time an item is drawn.
This commit is contained in:
parent
9e22949cec
commit
130c655e2f
programs/winecfg
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue