mirror of
https://github.com/reactos/reactos.git
synced 2025-08-05 06:43:01 +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
1 changed files with 2 additions and 0 deletions
|
@ -405,6 +405,7 @@ DateTimePageProc(HWND hwndDlg,
|
||||||
{
|
{
|
||||||
case DTN_DATETIMECHANGE:
|
case DTN_DATETIMECHANGE:
|
||||||
/* Enable the 'Apply' button */
|
/* Enable the 'Apply' button */
|
||||||
|
KillTimer(hwndDlg, ID_TIMER);
|
||||||
PropSheet_Changed(GetParent(hwndDlg), hwndDlg);
|
PropSheet_Changed(GetParent(hwndDlg), hwndDlg);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
@ -434,6 +435,7 @@ DateTimePageProc(HWND hwndDlg,
|
||||||
|
|
||||||
case PSN_APPLY:
|
case PSN_APPLY:
|
||||||
SetLocalSystemTime(hwndDlg);
|
SetLocalSystemTime(hwndDlg);
|
||||||
|
SetTimer(hwndDlg, ID_TIMER, 1000, NULL);
|
||||||
return TRUE;
|
return TRUE;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue