Author: cwittich
Date: Fri Jan 25 18:04:03 2008
New Revision: 31995
URL:
http://svn.reactos.org/svn/reactos?rev=31995&view=rev
Log:
reenable it...
Modified:
trunk/reactos/dll/win32/syssetup/wizard.c
Modified: trunk/reactos/dll/win32/syssetup/wizard.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/syssetup/wizard.…
==============================================================================
--- trunk/reactos/dll/win32/syssetup/wizard.c (original)
+++ trunk/reactos/dll/win32/syssetup/wizard.c Fri Jan 25 18:04:03 2008
@@ -1985,13 +1985,22 @@
{
case PSN_SETACTIVE:
/* Enable the correct buttons on for the active page */
- PropSheet_SetWizButtons(GetParent(hwndDlg), PSWIZB_FINISH);
+ PropSheet_SetWizButtons(GetParent(hwndDlg), PSWIZB_BACK |
PSWIZB_FINISH);
SendDlgItemMessage(hwndDlg, IDC_RESTART_PROGRESS, PBM_SETRANGE, 0,
MAKELPARAM(0, 300));
SendDlgItemMessage(hwndDlg, IDC_RESTART_PROGRESS, PBM_SETPOS, 0, 0);
SetTimer(hwndDlg, 1, 50, NULL);
break;
+
+ case PSN_WIZBACK:
+ /* Handle a Back button click, if necessary */
+ KillTimer(hwndDlg, 1);
+
+ /* Skip the progress page */
+ SetWindowLong(hwndDlg, DWL_MSGRESULT, IDD_DATETIMEPAGE);
+ SetupData.UnattendSetup = FALSE;
+ return TRUE;
case PSN_WIZFINISH:
/* Handle a Finish button click, if necessary */