Author: janderwald
Date: Fri Jun 2 14:13:17 2006
New Revision: 22173
URL:
http://svn.reactos.ru/svn/reactos?rev=22173&view=rev
Log:
disable timer when user wants to set an alternative date -
enables setting time and fixes bug 1398
bug report by Coviti
Modified:
trunk/reactos/dll/cpl/timedate/timedate.c
Modified: trunk/reactos/dll/cpl/timedate/timedate.c
URL:
http://svn.reactos.ru/svn/reactos/trunk/reactos/dll/cpl/timedate/timedate.c…
==============================================================================
--- trunk/reactos/dll/cpl/timedate/timedate.c (original)
+++ trunk/reactos/dll/cpl/timedate/timedate.c Fri Jun 2 14:13:17 2006
@@ -405,6 +405,7 @@
{
case DTN_DATETIMECHANGE:
/* Enable the 'Apply' button */
+ KillTimer(hwndDlg, ID_TIMER);
PropSheet_Changed(GetParent(hwndDlg), hwndDlg);
break;
}
@@ -434,6 +435,7 @@
case PSN_APPLY:
SetLocalSystemTime(hwndDlg);
+ SetTimer(hwndDlg, ID_TIMER, 1000, NULL);
return TRUE;
}
}