Can't drag while compiling
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@962 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
parent
330286a404
commit
303dd55b34
2 changed files with 2 additions and 0 deletions
|
@ -74,6 +74,7 @@ BOOL CALLBACK DialogProc(HWND hwndDlg, UINT msg, WPARAM wParam, LPARAM lParam) {
|
|||
case WM_INITDIALOG:
|
||||
{
|
||||
g_hwnd=hwndDlg;
|
||||
DragAcceptFiles(g_hwnd,FALSE);
|
||||
HICON hIcon = LoadIcon(g_hInstance,MAKEINTRESOURCE(IDI_ICON));
|
||||
SetClassLong(hwndDlg,GCL_HICON,(long)hIcon);
|
||||
HFONT hFont = CreateFont(14,0,0,0,FW_NORMAL,0,0,0,DEFAULT_CHARSET,OUT_CHARACTER_PRECIS,CLIP_DEFAULT_PRECIS,DEFAULT_QUALITY,FIXED_PITCH|FF_DONTCARE,"Courier New");
|
||||
|
|
|
@ -144,6 +144,7 @@ void EnableItems(HWND hwnd) {
|
|||
static BOOL g_appended = FALSE;
|
||||
void CompileNSISScript() {
|
||||
static char *s;
|
||||
DragAcceptFiles(g_hwnd,FALSE);
|
||||
ClearLog(g_hwnd);
|
||||
SetTitle(g_hwnd,NULL);
|
||||
SetBranding(g_hwnd);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue