From 3a7d121a69ea5df27eec54756bb9a8f9053f832f Mon Sep 17 00:00:00 2001 From: Steve Brokenshire Date: Fri, 7 Aug 2015 19:47:21 +0100 Subject: [PATCH] Added option to use GIF for the picture. --- source/contacteditor/frmContactEditor.cpp | 8 ++++++++ 1 file changed, 8 insertions(+) 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; -- 2.39.5