CDSGetCalendarInfo calendarInfo = dataStorage->GetCalendar((*calendarSeek));
combinedName += calendarInfo.calendarName;
CDSGetCalendarInfo calendarInfo = dataStorage->GetCalendar((*calendarSeek));
combinedName += calendarInfo.calendarName;
- txtEventName->SetValue(wxString(eventInfo.entryName));
- txtEventDescription->SetValue(wxString(eventInfo.entryDescription));
+ txtEventName->SetValue(wxString(eventInfo.entryName.c_str(), wxConvUTF8));
+ txtEventDescription->SetValue(wxString(eventInfo.entryDescription.c_str(), wxConvUTF8));
eventData.descriptionListAltRep.push_back("");
eventData.descriptionListLanguage.push_back("");
eventData.descriptionListTokens.push_back("");
}
eventData.descriptionListAltRep.push_back("");
eventData.descriptionListLanguage.push_back("");
eventData.descriptionListTokens.push_back("");
}
eventData.descriptionListAltRep.push_back("");
eventData.descriptionListLanguage.push_back("");
eventData.descriptionListTokens.push_back("");
eventData.descriptionListAltRep.push_back("");
eventData.descriptionListLanguage.push_back("");
eventData.descriptionListTokens.push_back("");
CDSGetCalendarInfo calendarInfo = dataStorage->GetCalendar(calendarIDList[cmbCalendar->GetSelection()]);
CDSGetAccountInfo accountInfo = dataStorage->GetAccount(calendarInfo.accountName);
CDSGetCalendarInfo calendarInfo = dataStorage->GetCalendar(calendarIDList[cmbCalendar->GetSelection()]);
CDSGetAccountInfo accountInfo = dataStorage->GetAccount(calendarInfo.accountName);
calendarDirectory += "/";
calendarDirectory += calendarInfo.calendarTextID;
calendarDirectory += "/";
calendarDirectory += "/";
calendarDirectory += calendarInfo.calendarTextID;
calendarDirectory += "/";
- eventInfo->eventName = txtEventName->GetValue().ToStdString();
- eventInfo->eventDescipriton = txtEventDescription->GetValue().ToStdString();
+ eventInfo->eventName = string(txtEventName->GetValue().ToUTF8());
+ eventInfo->eventDescipriton = string(txtEventDescription->GetValue().ToUTF8());
eventInfo->calendarID = calendarIDList[cmbCalendar->GetSelection()];
eventInfo->eventID = addEventResult.calendarEntryID;
eventInfo->eventYear = dapStartDate->GetValue().GetYear();
eventInfo->calendarID = calendarIDList[cmbCalendar->GetSelection()];
eventInfo->eventID = addEventResult.calendarEntryID;
eventInfo->eventYear = dapStartDate->GetValue().GetYear();
- eventInfo->eventName = txtEventName->GetValue().ToStdString();
- eventInfo->eventDescipriton = txtEventDescription->GetValue().ToStdString();
+ eventInfo->eventName = string(txtEventName->GetValue().ToUTF8());
+ eventInfo->eventDescipriton = string(txtEventDescription->GetValue().ToUTF8());
eventInfo->calendarID = calendarID;
eventInfo->eventID = eventID;
eventInfo->eventYear = dapStartDate->GetValue().GetYear();
eventInfo->calendarID = calendarID;
eventInfo->eventID = eventID;
eventInfo->eventYear = dapStartDate->GetValue().GetYear();