mirror of
https://github.com/reactos/reactos.git
synced 2024-10-05 08:54:40 +00:00
disable timer when user wants to set an alternative date -
enables setting time and fixes bug 1398 bug report by Coviti svn path=/trunk/; revision=22173
This commit is contained in:
parent
7b66dbbc92
commit
ee29d1d56c
|
@ -405,6 +405,7 @@ DateTimePageProc(HWND hwndDlg,
|
|||
{
|
||||
case DTN_DATETIMECHANGE:
|
||||
/* Enable the 'Apply' button */
|
||||
KillTimer(hwndDlg, ID_TIMER);
|
||||
PropSheet_Changed(GetParent(hwndDlg), hwndDlg);
|
||||
break;
|
||||
}
|
||||
|
@ -434,6 +435,7 @@ DateTimePageProc(HWND hwndDlg,
|
|||
|
||||
case PSN_APPLY:
|
||||
SetLocalSystemTime(hwndDlg);
|
||||
SetTimer(hwndDlg, ID_TIMER, 1000, NULL);
|
||||
return TRUE;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue