From: Steve Brokenshire Date: Fri, 11 Mar 2016 17:24:19 +0000 (+0000) Subject: Removed more unused code from common/timers.cpp X-Git-Tag: release-0.11~142 X-Git-Url: http://Server1/repobrowser/?a=commitdiff_plain;h=1f74616ec5652b64bc15845c27ba8e6f3eced23c;p=xestiaab%2F.git Removed more unused code from common/timers.cpp --- diff --git a/source/common/timers.cpp b/source/common/timers.cpp index 640997a..739c29f 100644 --- a/source/common/timers.cpp +++ b/source/common/timers.cpp @@ -185,7 +185,6 @@ void wxActTimer::StartAnimation() frmMain *frmMainPtrProc = static_cast(frmMainPtr); wxCommandEvent actstart(ACTMGR_START); wxPostEvent(frmMainPtrProc, actstart); - //frmMainPtrProc->ActivityIconStart(); this->ResetBitmap(); this->Start(50, FALSE); @@ -276,8 +275,6 @@ void wxActListProcTimer::Notify(){ wxPostEvent(static_cast(ActMgrPtr), uevent); iter->second = 5; - //lstActivityPtr->SetItem(LongIter->second, 2, _("Failed")); - } else if (iter->second == 3){ ueventdata->ItemIndex = LongIter->second; @@ -286,9 +283,6 @@ void wxActListProcTimer::Notify(){ wxPostEvent(static_cast(ActMgrPtr), uevent); iter->second = 5; - //lstActivityPtr->SetItem(LongIter->second, 2, _("Stopped")); - //iter->second = 6; - } else if (iter->second == 4){ ueventdata->ItemIndex = LongIter->second; @@ -296,9 +290,6 @@ void wxActListProcTimer::Notify(){ wxPostEvent(static_cast(ActMgrPtr), uevent); iter->second = 8; - - //lstActivityPtr->SetItem(LongIter->second, 2, _("Completed")); - //iter->second = 8; } @@ -509,25 +500,6 @@ void wxContactFileMonitorTimer::UpdateTimestamp(){ void wxContactWindowMonitor::Notify(){ - // Look through the list of windows and see if any have - // closed. IF they have closed then delete and free the - // memory (also delete from the map). - - /*for(std::map::iterator iter = ContactWindowListPtr->begin(); - iter != ContactWindowListPtr->end(); iter++){ - - frmContact *ContactPtr = (frmContact*)iter->second; - - // Check if open. - - if ( - - // Delete the form. - - // Delete the data from the map. - - }*/ - } void wxContactWindowMonitor::SetupPointers(std::map *ContactWindowListPtrInc){