ClearType + transparent branding text fix

git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2087 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
kichik 2003-01-28 14:28:56 +00:00
parent 059d8bc0d8
commit 7531adec7a
2 changed files with 4 additions and 5 deletions

View file

@ -130,6 +130,7 @@ static BOOL NSISCALL _HandleStaticBkColor(UINT uMsg, WPARAM wParam, LPARAM lPara
BOOL brush = (BOOL)GetWindowLong((HWND)lParam, GWL_USERDATA);
if (brush == -1) {
SetBkColor((HDC)wParam, GetSysColor(COLOR_BTNFACE));
SetTextColor((HDC)wParam, GetSysColor(COLOR_BTNFACE));
return (BOOL)GetStockObject(NULL_BRUSH);
}
SetBkMode((HDC)wParam, TRANSPARENT);