winecfg: Do not overwrite theme each time an item is drawn.
This commit is contained in:
parent
9e22949cec
commit
130c655e2f
|
@ -1094,7 +1094,7 @@ static void on_draw_item(HWND hDlg, WPARAM wParam, LPARAM lParam)
|
||||||
HTHEME theme;
|
HTHEME theme;
|
||||||
RECT buttonrect;
|
RECT buttonrect;
|
||||||
|
|
||||||
theme = OpenThemeData(draw_info->hwndItem, WC_BUTTONW);
|
theme = OpenThemeData(NULL, WC_BUTTONW);
|
||||||
|
|
||||||
if (theme) {
|
if (theme) {
|
||||||
MARGINS margins;
|
MARGINS margins;
|
||||||
|
|
Loading…
Reference in New Issue