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:
kichik 2002-11-21 17:29:26 +00:00
parent 1fc09ac3f7
commit 7b33e4d596
5 changed files with 4 additions and 3 deletions

View file

@ -11,6 +11,7 @@
// For page showing plug-ins
#define WM_NOTIFY_OUTER_NEXT (WM_USER+0x8)
#define NOTIFY_BYE_BYE 'x'
typedef struct _stack_t {
struct _stack_t *next;

View file

@ -697,9 +697,9 @@ BOOL CALLBACK cfgDlgProc(HWND hwndDlg,
HANDLE_MSG(hwndDlg, WM_COMMAND, WMCommandProc);
return 0;
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 == 0xD1E) g_is_cancel++;
if (wParam == NOTIFY_BYE_BYE) g_is_cancel++;
g_done++;
PostMessage(hwndDlg,WM_CLOSE,0,0);
}

View file

@ -276,7 +276,7 @@ BOOL CALLBACK dlgProc(HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM lParam)
break;
case WM_USER+666:
g_done = 1;
if (wParam == 0xD1E)
if (wParam == NOTIFY_BYE_BYE)
pushstring("cancel");
else
{

Binary file not shown.

Binary file not shown.