Abort now works from .onGUIInit
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@1942 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
parent
6189c91047
commit
fe2a23d116
1 changed files with 3 additions and 2 deletions
|
@ -499,9 +499,10 @@ BOOL CALLBACK DialogProc(HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM lParam)
|
|||
SetDlgItemTextFromLang(hwndDlg,IDCANCEL,LANG_BTN_CANCEL);
|
||||
SetDlgItemTextFromLang(hwndDlg,IDC_BACK,LANG_BTN_BACK);
|
||||
#if defined(NSIS_SUPPORT_CODECALLBACKS) && defined(NSIS_CONFIG_ENHANCEDUI_SUPPORT)
|
||||
ExecuteCodeSegment(g_inst_cmnheader->code_onGUIInit,NULL);
|
||||
if (!ExecuteCodeSegment(g_inst_cmnheader->code_onGUIInit,NULL))
|
||||
#endif
|
||||
ShowWindow(hwndDlg,SW_SHOW);
|
||||
ShowWindow(hwndDlg,SW_SHOW);
|
||||
else g_quit_flag = 1;
|
||||
}
|
||||
|
||||
this_page=g_inst_page+m_page;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue