XCCalendarList::~XCCalendarList(){
+ // Delete the calendar lists.
+
+ for (vector<XCCalendarListAccountCtrl*>::iterator accountCtrlIter = accountControlList.begin();
+ accountCtrlIter != accountControlList.end(); accountCtrlIter++){
+
+ delete *accountCtrlIter;
+
+ }
+
+ accountControlList.clear();
+
+ this->SetSizer(nullptr, true);
+
}
void XCCalendarList::UpdateCalendarList(CalendarDataStorage *dataStorage){
// Set the updated checksum.
checksumUpdate = currentChecksum.checksumValue;
+
+ this->Layout();
}