// frmContactEditor-Picture.cpp - frmContactEditor Picture tab subroutines.
//
-// (c) 2012-2015 Xestia Software Development.
+// (c) 2012-2016 Xestia Software Development.
//
// This file is part of Xestia Address Book.
//
frmContactEditorPicture *frameCEPicture = new frmContactEditorPicture ( this );
frameCEPicture->SetEditorMode(FALSE);
- intResult = GetLastInt(&PicturesList);
- frameCEPicture->SetupPointers(&PicturesList,
- &PicturesListAltID,
- &PicturesListPID,
- &PicturesListType,
- &PicturesListPicEncType,
- &PicturesListPictureType,
- &PicturesListTokens,
- &PicturesListMediatype,
- &PicturesListPref,
+ intResult = GetLastInt(&ContactEditorData.PicturesList);
+ frameCEPicture->SetupPointers(&ContactEditorData.PicturesList,
+ &ContactEditorData.PicturesListAltID,
+ &ContactEditorData.PicturesListPID,
+ &ContactEditorData.PicturesListType,
+ &ContactEditorData.PicturesListPicEncType,
+ &ContactEditorData.PicturesListPictureType,
+ &ContactEditorData.PicturesListTokens,
+ &ContactEditorData.PicturesListMediatype,
+ &ContactEditorData.PicturesListPref,
lboPictures,
(intValueSeek));
frameCEPicture->ShowModal();
}
frmContactEditorPicture *frameCEPicture = new frmContactEditorPicture ( this );
- frameCEPicture->SetupPointers(&PicturesList,
- &PicturesListAltID,
- &PicturesListPID,
- &PicturesListType,
- &PicturesListPicEncType,
- &PicturesListPictureType,
- &PicturesListTokens,
- &PicturesListMediatype,
- &PicturesListPref,
+ frameCEPicture->SetupPointers(&ContactEditorData.PicturesList,
+ &ContactEditorData.PicturesListAltID,
+ &ContactEditorData.PicturesListPID,
+ &ContactEditorData.PicturesListType,
+ &ContactEditorData.PicturesListPicEncType,
+ &ContactEditorData.PicturesListPictureType,
+ &ContactEditorData.PicturesListTokens,
+ &ContactEditorData.PicturesListMediatype,
+ &ContactEditorData.PicturesListPref,
lboPictures,
intSelectedData);
frameCEPicture->SetEditorMode(TRUE);
lboPictures->DeleteItem(longSelected);
DeleteMapData(intSelectedData,
- &PicturesList, &PicturesListAltID, &PicturesListPID, &PicturesListType,
- &PicturesListPicEncType, &PicturesListPictureType, &PicturesListTokens,
- &PicturesListMediatype, &PicturesListPref);
+ &ContactEditorData.PicturesList, &ContactEditorData.PicturesListAltID, &ContactEditorData.PicturesListPID, &ContactEditorData.PicturesListType,
+ &ContactEditorData.PicturesListPicEncType, &ContactEditorData.PicturesListPictureType, &ContactEditorData.PicturesListTokens,
+ &ContactEditorData.PicturesListMediatype, &ContactEditorData.PicturesListPref);
wxMemoryInputStream istream(misc_emptyimage_png, sizeof(misc_emptyimage_png));
wxImage misc_emptyimage_png(istream, wxBITMAP_TYPE_PNG);