winecfg: Also set the text color for the license and version controls.

Otherwise they will default to black and not respect theming.

Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Zebediah Figura 2019-04-15 20:16:19 -05:00 committed by Alexandre Julliard
parent f05fa1b99d
commit 35afdf0f79
1 changed files with 3 additions and 0 deletions

View File

@ -168,9 +168,12 @@ AboutDlgProc (HWND hDlg, UINT uMsg, WPARAM wParam, LPARAM lParam)
case IDC_ABT_TITLE_TEXT:
/* set the title to a wine color */
SetTextColor((HDC)wParam, 0x0000007F);
SetBkColor((HDC)wParam, GetSysColor(COLOR_WINDOW));
return (INT_PTR)GetSysColorBrush(COLOR_WINDOW);
case IDC_ABT_PANEL_TEXT:
case IDC_ABT_LICENSE_TEXT:
case IDC_ABT_WEB_LINK:
SetTextColor((HDC)wParam, GetSysColor(COLOR_WINDOWTEXT));
SetBkColor((HDC)wParam, GetSysColor(COLOR_WINDOW));
return (INT_PTR)GetSysColorBrush(COLOR_WINDOW);
}