\r
} else {\r
\r
- ContactIndex = vCardNamesDsc.size() - 1;\r
+ ContactIndex = (int)(vCardNamesDsc.size() - 1);\r
\r
- for (std::map<wxString,ContactData>::iterator iter = vCardNamesDsc.begin(); \r
- iter != vCardNamesDsc.end(); ++iter){\r
+ for (std::map<wxString,ContactData>::iterator iter = vCardNamesDsc.begin();\r
+ iter != vCardNamesDsc.end(); ++iter){\r
\r
- chkContacts->InsertItems(1, &iter->first, 0);\r
+ chkContacts->InsertItems(1, &iter->first, 0);\r
\r
- ContactNamesData.insert(std::make_pair(ContactIndex, iter->second)); \r
- \r
- ContactIndex--;\r
+ ContactNamesData.insert(std::make_pair(ContactIndex, iter->second));\r
+ \r
+ ContactIndex--;\r
\r
- }\r
+ }\r
\r
}\r
\r
\r
}\r
\r
- std::map<int, ContactData>::iterator CDataIter = ContactNamesData.find(i);\r
- \r
wxListItem ItemData;\r
ItemData.SetId(0);\r
ItemData.SetText(chkContacts->GetString(i));\r