// with Xestia Address Book. If not, see <http://www.gnu.org/licenses/>
#include "frmContactEditorNickname.h"
-#include "../common/textprocessing.h"
frmContactEditorNickname::frmContactEditorNickname( wxWindow* parent )
:
frmContactEditorNicknameADT( parent )
{
+ std::vector<std::string> LanguageCodeList = GetLanguageCodeList();
+
+ wxArrayString LanguageList;
+
+ for (auto LanguageItem : LanguageCodeList){
+
+ LanguageList.Add((wxString)LanguageItem, 1);
+
+ }
+
+ cmbLanguage->Append(LanguageList);
+
}
void frmContactEditorNickname::InitAddressEditor( wxInitDialogEvent& event )
#include <string>
#include "../AppXestiaAddrBk.h"
#include "../enums.h"
+#include "../common/textprocessing.h"
+#include "../common/languages.h"
//// end generated include
// with Xestia Address Book. If not, see <http://www.gnu.org/licenses/>
#include "frmContactEditorNotes.h"
-#include "../common/textprocessing.h"
-#include <wx/tokenzr.h>
frmContactEditorNotes::frmContactEditorNotes( wxWindow* parent )
:
EditorMode = FALSE;
sliPriority->Disable();
+
+ // Setup the language combo box.
+
+ std::vector<std::string> LanguageCodeList = GetLanguageCodeList();
+
+ wxArrayString LanguageList;
+
+ for (auto LanguageItem : LanguageCodeList){
+
+ LanguageList.Add((wxString)LanguageItem, 1);
+
+ }
+
+ cmbLanguage->Append(LanguageList);
+
}
void frmContactEditorNotes::EnablePriority( wxCommandEvent& event )
striter = NotesListLangPtr->find(NotesListIndex);
+ strValue.clear();
+
if (striter->first == NotesListIndex &&
striter != NotesListLangPtr->end()){
*/
#include <map>
+#include <wx/tokenzr.h>
+
#include "../AppXestiaAddrBk.h"
#include "../enums.h"
+#include "../common/textprocessing.h"
+#include "../common/languages.h"
//// end generated include