call DragFinish to free memory
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4411 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
parent
5b276eb9b4
commit
1f6cb00174
2 changed files with 2 additions and 0 deletions
|
@ -219,6 +219,7 @@ BOOL CALLBACK DialogProc(HWND hwndDlg, UINT msg, WPARAM wParam, LPARAM lParam) {
|
||||||
} else {
|
} else {
|
||||||
MessageBox(hwndDlg,MULTIDROPERROR,"Error",MB_OK|MB_ICONSTOP);
|
MessageBox(hwndDlg,MULTIDROPERROR,"Error",MB_OK|MB_ICONSTOP);
|
||||||
}
|
}
|
||||||
|
DragFinish((HDROP)wParam);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
case WM_GETMINMAXINFO:
|
case WM_GETMINMAXINFO:
|
||||||
|
|
|
@ -680,6 +680,7 @@ BOOL CALLBACK DlgProc(HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM lParam)
|
||||||
{
|
{
|
||||||
MessageBox(hwndDlg,"Dropping more than one zip file at a time is not supported",g_errcaption,MB_OK|MB_ICONSTOP);
|
MessageBox(hwndDlg,"Dropping more than one zip file at a time is not supported",g_errcaption,MB_OK|MB_ICONSTOP);
|
||||||
}
|
}
|
||||||
|
DragFinish((HDROP)wParam);
|
||||||
return TRUE;
|
return TRUE;
|
||||||
}
|
}
|
||||||
case WM_COMMAND:
|
case WM_COMMAND:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue