From e96ff917bb98563a2397eca71c51a273e46d9dcd Mon Sep 17 00:00:00 2001 From: Goraf Date: Sun, 7 Feb 2016 19:21:37 +0000 Subject: ContextHelp: fix for bgcolor git-svn-id: http://svn.miranda-ng.org/main/trunk@16243 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/ContextHelp/src/helpdlg.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugins') diff --git a/plugins/ContextHelp/src/helpdlg.cpp b/plugins/ContextHelp/src/helpdlg.cpp index 8bfe64d8f5..47692e128c 100644 --- a/plugins/ContextHelp/src/helpdlg.cpp +++ b/plugins/ContextHelp/src/helpdlg.cpp @@ -310,7 +310,7 @@ INT_PTR CALLBACK HelpDlgProc(HWND hwndDlg, UINT msg, WPARAM wParam, LPARAM lPara case WM_CTLCOLORSTATIC: SetTextColor((HDC)wParam, GetSysColor(COLOR_INFOTEXT)); SetBkColor((HDC)wParam, GetSysColor(COLOR_INFOBK)); - return GetSysColorBrush(COLOR_INFOBK) != 0; + return (INT_PTR)GetSysColorBrush(COLOR_INFOBK); case WM_ACTIVATE: if (LOWORD(wParam) != WA_INACTIVE) break; -- cgit v1.2.3