Home | News | Projects | Releases
Bugs | RFE | Repositories | Help
Removed unused variables from contacteditor/frmContactEditor-Key.cpp
[xestiaab/.git] / source / contacteditor / frmContactEditor-Picture.cpp
index c1751ea..cc29944 100644 (file)
@@ -24,6 +24,8 @@
 void frmContactEditor::AddPicture( wxCommandEvent& event )
 {
        
+       // Bring up window for adding a picture.
+       
        int intResult = 0;
     
        frmContactEditorPicture *frameCEPicture = new frmContactEditorPicture ( this );
@@ -50,6 +52,8 @@ void frmContactEditor::AddPicture( wxCommandEvent& event )
 void frmContactEditor::ModifyPicture( wxCommandEvent& event )
 {
        
+       // Bring up window for modifying a picture.
+       
        long longSelected = -1;
        int intSelectedData = 0;
     
@@ -82,6 +86,8 @@ void frmContactEditor::ModifyPicture( wxCommandEvent& event )
 void frmContactEditor::DeletePicture( wxCommandEvent& event )
 {
        
+       // Bring up window for deleting a picture.
+       
        long longSelected = -1;
        int intSelectedData = 0;
     
@@ -109,6 +115,8 @@ void frmContactEditor::DeletePicture( wxCommandEvent& event )
 void frmContactEditor::LoadPicture( wxListEvent& event )
 {
     
+       // Load the picture.
+       
        long longSelected = -1;
        int intSelectedData = 0;
     
@@ -130,7 +138,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")){
         
@@ -170,6 +177,8 @@ void frmContactEditor::LoadPicture( wxListEvent& event )
 void frmContactEditor::SavePicture( wxCommandEvent &event )
 {
 
+       // Save the picture 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