fixed bug #2053522 - nsDialogs doesn't RemoveProp
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5700 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
parent
82ef123f1d
commit
cdbef6a754
1 changed files with 11 additions and 0 deletions
|
@ -220,6 +220,17 @@ BOOL CALLBACK DialogProc(HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM lParam)
|
|||
case WM_CTLCOLORLISTBOX:
|
||||
// let the NSIS window handle colors, it knows best
|
||||
return SendMessage(g_dialog.hwParent, uMsg, wParam, lParam);
|
||||
|
||||
// bye bye
|
||||
case WM_DESTROY:
|
||||
{
|
||||
unsigned i;
|
||||
for (i = 0; i < g_dialog.controlCount; i++)
|
||||
{
|
||||
RemoveProp(g_dialog.controls[i].window, NSCONTROL_ID_PROP);
|
||||
}
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
return FALSE;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue