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

Alexandre Julliard julliard at winehq.org
Thu Apr 18 16:41:12 CDT 2019


Module: wine
Branch: master
Commit: 35afdf0f797e86c69d3ac90bba11b6249cb92fcc
URL:    https://source.winehq.org/git/wine.git/?a=commit;h=35afdf0f797e86c69d3ac90bba11b6249cb92fcc

Author: Zebediah Figura <z.figura12 at gmail.com>
Date:   Mon Apr 15 20:16:19 2019 -0500

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 at gmail.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 programs/winecfg/about.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/programs/winecfg/about.c b/programs/winecfg/about.c
index 879693e..e9f833c 100644
--- a/programs/winecfg/about.c
+++ b/programs/winecfg/about.c
@@ -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);
         }




More information about the wine-cvs mailing list