Home | News | Projects | Releases
Bugs | RFE | Repositories | Help
updateversion.pl: Easily update the version in certain files
[xestiaab/.git] / source / contacteditor / frmContactEditor-Logo.cpp
index 2f02a8a..7aa3309 100644 (file)
@@ -23,6 +23,8 @@
 void frmContactEditor::LoadLogo( wxListEvent& event )
 {
     
+       // Load the logo.
+       
        long longSelected = -1;
        int intSelectedData = 0;
     
@@ -44,8 +46,7 @@ void frmContactEditor::LoadLogo( 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")){
         
                if (!photo.LoadFile(istream, wxBITMAP_TYPE_JPEG)){
@@ -83,11 +84,11 @@ void frmContactEditor::LoadLogo( wxListEvent& event )
 
 void frmContactEditor::AddLogo( wxCommandEvent& event )
 {
-       int intResult = 0;
-    
+       
+       // Bring up the window to add a logo.
+           
        frmContactEditorPicture *frameCELogo = new frmContactEditorPicture ( this );
        frameCELogo->SetEditorMode(FALSE);
-       intResult = GetLastInt(&ContactEditorData.LogosList);
        frameCELogo->SetupPointers(&ContactEditorData.LogosList,
                &ContactEditorData.LogosListAltID,
                &ContactEditorData.LogosListPID,
@@ -109,6 +110,8 @@ void frmContactEditor::AddLogo( wxCommandEvent& event )
 void frmContactEditor::ModifyLogo( wxCommandEvent& event )
 {
        
+       // Bring up the window to modify a logo.
+       
        long longSelected = -1;
        int intSelectedData = 0;
     
@@ -141,6 +144,8 @@ void frmContactEditor::ModifyLogo( wxCommandEvent& event )
 void frmContactEditor::DeleteLogo( wxCommandEvent& event )
 {
        
+       // Bring up a window to delete a logo.
+       
        long longSelected = -1;
        int intSelectedData = 0;
     
@@ -168,6 +173,8 @@ void frmContactEditor::DeleteLogo( wxCommandEvent& event )
 void frmContactEditor::SaveLogo( wxCommandEvent &event )
 {
        
+       // Save the logo to a file.
+       
        long longSelected = -1;
        int intSelectedData = 0;
     
Xestia Software Development
Yn Maystri
© 2006 - 2019 Xestia Software Development
Software

Xestia Address Book
Xestia Calendar
Development

Xestia Gelforn
Everything else

About
News
Privacy Policy