From: Steve Brokenshire Date: Fri, 7 Aug 2015 18:47:21 +0000 (+0100) Subject: Added option to use GIF for the picture. X-Git-Tag: release-0.05~85 X-Git-Url: http://Server1/repobrowser/?p=xestiaab%2F.git;a=commitdiff_plain;h=3a7d121a69ea5df27eec54756bb9a8f9053f832f Added option to use GIF for the picture. --- diff --git a/source/contacteditor/frmContactEditor.cpp b/source/contacteditor/frmContactEditor.cpp index dd17d98..8881a2a 100644 --- a/source/contacteditor/frmContactEditor.cpp +++ b/source/contacteditor/frmContactEditor.cpp @@ -3142,6 +3142,14 @@ void frmContactEditor::LoadPicture( wxListEvent& event ) } + } else if (pictypeiter->second == wxT("image/gif")){ + + if (!photo.LoadFile(istream, wxBITMAP_TYPE_GIF)){ + + return; + + } + } else { return;