void frmContactEditor::LoadLogo( wxListEvent& event )
{
+ // Load the logo.
+
long longSelected = -1;
int intSelectedData = 0;
wxMemoryInputStream istream(base64dec.c_str(), (size_t)base64dec.size());
wxImage photo;
- //wxMemoryInputStream istream(base64dec, (size_t)base64dec.size());
-
+
if (pictypeiter->second == wxT("image/jpeg")){
if (!photo.LoadFile(istream, wxBITMAP_TYPE_JPEG)){
void frmContactEditor::AddLogo( wxCommandEvent& event )
{
+
+ // Bring up the window to add a logo.
+
int intResult = 0;
frmContactEditorPicture *frameCELogo = new frmContactEditorPicture ( this );
void frmContactEditor::ModifyLogo( wxCommandEvent& event )
{
+ // Bring up the window to modify a logo.
+
long longSelected = -1;
int intSelectedData = 0;
void frmContactEditor::DeleteLogo( wxCommandEvent& event )
{
+ // Bring up a window to delete a logo.
+
long longSelected = -1;
int intSelectedData = 0;
void frmContactEditor::SaveLogo( wxCommandEvent &event )
{
+ // Save the logo to a file.
+
long longSelected = -1;
int intSelectedData = 0;