From 710bd63d1032b519b0e7f819a860ec158cefc7dc Mon Sep 17 00:00:00 2001 From: Steve Brokenshire Date: Mon, 14 Mar 2016 21:29:07 +0000 Subject: [PATCH] Added comment to describe functions in import/frmImportResults.cpp --- source/import/frmImportResults.cpp | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/source/import/frmImportResults.cpp b/source/import/frmImportResults.cpp index 1129ab6..a20b5f2 100644 --- a/source/import/frmImportResults.cpp +++ b/source/import/frmImportResults.cpp @@ -33,6 +33,8 @@ frmImportResultsADT( parent ) void frmImportResults::CopyClipboard( wxCommandEvent& event ) { + // Copy the results to the clipboard. + if (wxTheClipboard->Open()){ wxTextDataObject ResultData; @@ -56,12 +58,18 @@ void frmImportResults::CopyClipboard( wxCommandEvent& event ) void frmImportResults::CloseWindow( wxCommandEvent& event ) { + + // Close the window. + this->Close(); + } void frmImportResults::LoadData(std::map *ResultDataInc, int ImportCount, int ImportErrorCount) { + // Load and process the data from the ResultDataInc pointer. + wxString ResultDataText; for (std::map::iterator iter = ResultDataInc->begin(); -- 2.39.5