X-Git-Url: http://Server1/repobrowser/?a=blobdiff_plain;f=source%2Fcontacteditor%2FfrmContactEditor-Picture.cpp;h=0ad94b0e553743c13823b03c9e1de6fa2dbd26fc;hb=176323555ae58da5fec1ac843e0c613a0b9dabba;hp=add6570ace4ff0ff05c588d1717d97328c790e64;hpb=b7da64cd1d2133700e97d3542ff364ebe1de3a89;p=xestiaab%2F.git diff --git a/source/contacteditor/frmContactEditor-Picture.cpp b/source/contacteditor/frmContactEditor-Picture.cpp index add6570..0ad94b0 100644 --- a/source/contacteditor/frmContactEditor-Picture.cpp +++ b/source/contacteditor/frmContactEditor-Picture.cpp @@ -25,12 +25,9 @@ void frmContactEditor::AddPicture( wxCommandEvent& event ) { // Bring up window for adding a picture. - - int intResult = 0; - + frmContactEditorPicture *frameCEPicture = new frmContactEditorPicture ( this ); frameCEPicture->SetEditorMode(FALSE); - intResult = GetLastInt(&ContactEditorData.PicturesList); frameCEPicture->SetupPointers(&ContactEditorData.PicturesList, &ContactEditorData.PicturesListAltID, &ContactEditorData.PicturesListPID, @@ -138,7 +135,6 @@ void frmContactEditor::LoadPicture( wxListEvent& event ) wxMemoryInputStream istream(base64dec.c_str(), (size_t)base64dec.size()); wxImage photo; - //wxMemoryInputStream istream(base64dec, (size_t)base64dec.size()); if (pictypeiter->second == wxT("image/jpeg")){