Fixed bug #717022, overlapping chars in dir input
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2454 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
parent
7ce9651864
commit
0cf8b75be5
1 changed files with 1 additions and 0 deletions
|
@ -134,6 +134,7 @@ static BOOL NSISCALL _HandleStaticBkColor(UINT uMsg, WPARAM wParam, LPARAM lPara
|
|||
case WM_CTLCOLORBTN:
|
||||
{
|
||||
BOOL brush = (BOOL)GetWindowLong((HWND)lParam, GWL_USERDATA);
|
||||
if (!brush) return 0;
|
||||
if (brush == -1) {
|
||||
COLORREF dlgColor = GetSysColor(COLOR_BTNFACE);
|
||||
SetBkColor((HDC)wParam, dlgColor);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue