From b7da64cd1d2133700e97d3542ff364ebe1de3a89 Mon Sep 17 00:00:00 2001 From: Steve Brokenshire Date: Sun, 13 Mar 2016 13:12:54 +0000 Subject: [PATCH] Added comments to describe functions in contacteditor/frmContactEditor-Picture.cpp --- source/contacteditor/frmContactEditor-Picture.cpp | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/source/contacteditor/frmContactEditor-Picture.cpp b/source/contacteditor/frmContactEditor-Picture.cpp index c1751ea..add6570 100644 --- a/source/contacteditor/frmContactEditor-Picture.cpp +++ b/source/contacteditor/frmContactEditor-Picture.cpp @@ -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; @@ -170,6 +178,8 @@ void frmContactEditor::LoadPicture( wxListEvent& event ) void frmContactEditor::SavePicture( wxCommandEvent &event ) { + // Save the picture to a file. + long longSelected = -1; int intSelectedData = 0; -- 2.39.5