coldata.SetId(ActivityTaskID);
coldata.SetData(ActivityTaskID);
- AnimationTimer.StartAnimation();
+ if (ApplicationSleepMode == FALSE){
+
+ AnimationTimer.StartAnimation();
+
+ }
// Get the preferences file.
ProcessTasksData = TRUE;
- if (!ActProcessTimer.IsRunning()) {
+ if (!ActProcessTimer.IsRunning() && ApplicationSleepMode == FALSE) {
wxCommandEvent event(ACTMGR_STARTTIMER);
wxPostEvent(this, event);