Now works with latest changes
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@1799 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
parent
1fc09ac3f7
commit
7b33e4d596
5 changed files with 4 additions and 3 deletions
|
@ -11,6 +11,7 @@
|
||||||
|
|
||||||
// For page showing plug-ins
|
// For page showing plug-ins
|
||||||
#define WM_NOTIFY_OUTER_NEXT (WM_USER+0x8)
|
#define WM_NOTIFY_OUTER_NEXT (WM_USER+0x8)
|
||||||
|
#define NOTIFY_BYE_BYE 'x'
|
||||||
|
|
||||||
typedef struct _stack_t {
|
typedef struct _stack_t {
|
||||||
struct _stack_t *next;
|
struct _stack_t *next;
|
||||||
|
|
|
@ -697,9 +697,9 @@ BOOL CALLBACK cfgDlgProc(HWND hwndDlg,
|
||||||
HANDLE_MSG(hwndDlg, WM_COMMAND, WMCommandProc);
|
HANDLE_MSG(hwndDlg, WM_COMMAND, WMCommandProc);
|
||||||
return 0;
|
return 0;
|
||||||
case WM_USER+666:
|
case WM_USER+666:
|
||||||
if (wParam == 0xD1E || wParam == -1 || ValidateFields()) {
|
if (wParam == NOTIFY_BYE_BYE || wParam == -1 || ValidateFields()) {
|
||||||
if (wParam == -1) g_is_back++;
|
if (wParam == -1) g_is_back++;
|
||||||
if (wParam == 0xD1E) g_is_cancel++;
|
if (wParam == NOTIFY_BYE_BYE) g_is_cancel++;
|
||||||
g_done++;
|
g_done++;
|
||||||
PostMessage(hwndDlg,WM_CLOSE,0,0);
|
PostMessage(hwndDlg,WM_CLOSE,0,0);
|
||||||
}
|
}
|
||||||
|
|
|
@ -276,7 +276,7 @@ BOOL CALLBACK dlgProc(HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM lParam)
|
||||||
break;
|
break;
|
||||||
case WM_USER+666:
|
case WM_USER+666:
|
||||||
g_done = 1;
|
g_done = 1;
|
||||||
if (wParam == 0xD1E)
|
if (wParam == NOTIFY_BYE_BYE)
|
||||||
pushstring("cancel");
|
pushstring("cancel");
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|
Binary file not shown.
Binary file not shown.
Loading…
Add table
Add a link
Reference in a new issue