// Set the data into the calendar event object.
eventData.summaryData = txtEventName->GetValue().ToStdString();
-
- if (eventData.descriptionList.size() > 0)
- {
- eventData.descriptionList[0] = txtEventDescription->GetValue().ToStdString();
- }
- else
- {
- eventData.descriptionList.push_back(txtEventDescription->GetValue().ToStdString());
- eventData.descriptionListAltRep.push_back("");
- eventData.descriptionListLanguage.push_back("");
- eventData.descriptionListTokens.push_back("");
- }
-
+
+ if (eventData.descriptionList.size() > 0)
+ {
+ eventData.descriptionList[0] = txtEventDescription->GetValue().ToStdString();
+ }
+ else
+ {
+ eventData.descriptionList.push_back(txtEventDescription->GetValue().ToStdString());
+ eventData.descriptionListAltRep.push_back("");
+ eventData.descriptionListLanguage.push_back("");
+ eventData.descriptionListTokens.push_back("");
+ }
+
eventData.descriptionList.push_back(txtEventDescription->GetValue().ToStdString());
eventData.descriptionListAltRep.push_back("");
eventData.descriptionListLanguage.push_back("");
EventProperties *eventInfo = new EventProperties;
eventInfo->eventName = txtEventName->GetValue().ToStdString();
- eventInfo->eventDescipriton = txtEventDescription->GetValue().ToStdString();
+ eventInfo->eventDescipriton = txtEventDescription->GetValue().ToStdString();
eventInfo->calendarID = calendarIDList[cmbCalendar->GetSelection()];
eventInfo->eventID = addEventResult.calendarEntryID;
eventInfo->eventYear = dapStartDate->GetValue().GetYear();
EventProperties *eventInfo = new EventProperties;
eventInfo->eventName = txtEventName->GetValue().ToStdString();
- eventInfo->eventDescipriton = txtEventDescription->GetValue().ToStdString();
+ eventInfo->eventDescipriton = txtEventDescription->GetValue().ToStdString();
eventInfo->calendarID = calendarID;
eventInfo->eventID = eventID;
eventInfo->eventYear = dapStartDate->GetValue().GetYear();
calendarList->UpdateCalendarList(dataStorage);
#if defined(__APPLE__)
- if (calendarListShow == false)
- {
- calendarList->Show();
- calendarListShow = true;
- }
- else
- {
- calendarList->Hide();
- calendarListShow = false;
- }
+ if (calendarListShow == false)
+ {
+ calendarList->Show();
+ calendarListShow = true;
+ }
+ else
+ {
+ calendarList->Hide();
+ calendarListShow = false;
+ }
#else
calendarList->Popup();
#endif