From 7191b3df2e9f473133c99f56c46c72c99c122c8a Mon Sep 17 00:00:00 2001 From: George Hazan Date: Thu, 15 Feb 2018 14:39:23 +0200 Subject: fixes #1152 (TabSRMM: container settings use non-standard back color) --- plugins/TabSRMM/src/containeroptions.cpp | 17 ----------------- 1 file changed, 17 deletions(-) (limited to 'plugins') diff --git a/plugins/TabSRMM/src/containeroptions.cpp b/plugins/TabSRMM/src/containeroptions.cpp index f4c5ecc438..c87c52700f 100644 --- a/plugins/TabSRMM/src/containeroptions.cpp +++ b/plugins/TabSRMM/src/containeroptions.cpp @@ -217,23 +217,6 @@ INT_PTR CALLBACK DlgProcContainerOptions(HWND hwndDlg, UINT msg, WPARAM wParam, } return FALSE; - case WM_CTLCOLOREDIT: - case WM_CTLCOLORSTATIC: - { - HWND hwndChild = (HWND)lParam; - UINT id = GetDlgCtrlID(hwndChild); - - if (hwndChild == GetDlgItem(hwndDlg, IDC_TITLEBOX)) - ::SetTextColor((HDC)wParam, RGB(60, 60, 150)); - else if (hwndChild == GetDlgItem(hwndDlg, IDC_DESC)) - ::SetTextColor((HDC)wParam, RGB(160, 50, 50)); - - if (id == IDC_TSLABEL_REOPENWARN) - break; - SetBkColor((HDC)wParam, GetSysColor(COLOR_WINDOW)); - return (INT_PTR)GetSysColorBrush(COLOR_WINDOW); - } - case WM_NOTIFY: if (wParam == IDC_SECTIONTREE && ((LPNMHDR)lParam)->code == TVN_SELCHANGED) { NMTREEVIEW *pmtv = (NMTREEVIEW *)lParam; -- cgit v1.2.3