}
+ } else if (pictypeiter->second == wxT("image/gif")){
+
+ if (!photo.LoadFile(istream, wxBITMAP_TYPE_GIF)){
+
+ return;
+
+ }
+
} else {
return;
FMTimer.SetFilename(FilenameFinal);
FMTimer.UpdateTimestamp();
FMTimer.Start(10000, FALSE);
+
+ wxCommandEvent reloadevent(RELOADCONTACTLIST);
+ reloadevent.SetString(wxSContactAccount);
+ wxPostEvent(this->GetParent(), reloadevent);
}
else {
}
if (!txtTitle->GetValue().IsEmpty()){
- cmbDisplayAs->Append(txtTitle->GetValue() + wxT(" ") + txtSurname->GetValue() + wxT(" ") + txtForename->GetValue());
+ cmbDisplayAs->Append(txtTitle->GetValue() + wxT(" ") + txtForename->GetValue() + wxT(" ") + txtSurname->GetValue());
}
cmbDisplayAs->SetValue(SetValue);