Transparency bug in IO too
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2463 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
parent
2707d5d46e
commit
ed285baf9d
2 changed files with 8 additions and 2 deletions
|
@ -643,8 +643,14 @@ BOOL CALLBACK cfgDlgProc(HWND hwndDlg,
|
|||
case WM_CTLCOLORDLG:
|
||||
case WM_CTLCOLORBTN:
|
||||
case WM_CTLCOLORLISTBOX:
|
||||
SetBkMode((HDC)wParam, TRANSPARENT);
|
||||
return (BOOL)GetWindowLong((HWND)lParam, GWL_USERDATA);
|
||||
{
|
||||
BOOL brush = (BOOL)GetWindowLong((HWND)lParam, GWL_USERDATA);
|
||||
if (brush)
|
||||
{
|
||||
SetBkMode((HDC)wParam, TRANSPARENT);
|
||||
return brush;
|
||||
}
|
||||
}
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
|
|
Binary file not shown.
Loading…
Add table
Add a link
Reference in a new issue