diff options
author | Underground78 <underground78@users.sourceforge.net> | 2012-04-09 13:11:14 +0400 |
---|---|---|
committer | Underground78 <underground78@users.sourceforge.net> | 2012-04-09 13:11:14 +0400 |
commit | c7f7674fe94314499e19e3bfeaeb6d25e222066e (patch) | |
tree | 982cf9cc6a1d481cf6e9e971470892ce8ff167a9 /src/thirdparty/ui | |
parent | 89987d4e1ea4db5568c5a4dc8db50a0b787ce254 (diff) |
Fix: Change the background color of the options pages caption so that it is readable with all Windows themes.
This commit fixes ticket #2155.
git-svn-id: https://mpc-hc.svn.sourceforge.net/svnroot/mpc-hc/trunk@4304 10f7b99b-c216-0410-bff0-8a66a9350fd8
Diffstat (limited to 'src/thirdparty/ui')
-rw-r--r-- | src/thirdparty/ui/TreePropSheet/PropPageFrameDefault.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/thirdparty/ui/TreePropSheet/PropPageFrameDefault.cpp b/src/thirdparty/ui/TreePropSheet/PropPageFrameDefault.cpp index a0da46b5d..344dabbfc 100644 --- a/src/thirdparty/ui/TreePropSheet/PropPageFrameDefault.cpp +++ b/src/thirdparty/ui/TreePropSheet/PropPageFrameDefault.cpp @@ -285,7 +285,9 @@ CRect CPropPageFrameDefault::CalcCaptionArea() void CPropPageFrameDefault::DrawCaption(CDC *pDc, CRect rect, LPCTSTR lpszCaption, HICON hIcon)
{
- COLORREF clrLeft = GetSysColor(COLOR_INACTIVECAPTION);
+ // <MPC-HC Custom Code>
+ COLORREF clrLeft = GetSysColor(COLOR_ACTIVECAPTION);
+ // </MPC-HC Custom Code>
COLORREF clrRight = pDc->GetPixel(rect.right-1, rect.top);
FillGradientRectH(pDc, rect, clrLeft, clrRight);
|