From 30b6859edd39ce138da5878c85b97e6a26728c02 Mon Sep 17 00:00:00 2001 From: Steve Brokenshire Date: Mon, 14 Mar 2016 22:01:15 +0000 Subject: [PATCH] Added comments to describe functions in search/frmSearchAccounts.cpp --- source/search/frmSearchAccounts.cpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/source/search/frmSearchAccounts.cpp b/source/search/frmSearchAccounts.cpp index d968e4c..ad2c5d4 100644 --- a/source/search/frmSearchAccounts.cpp +++ b/source/search/frmSearchAccounts.cpp @@ -34,6 +34,8 @@ void frmSearchAccounts::LoadSearchAccounts(std::map *SearchAccou std::map *SearchAccountsList) { + // Load the list of accounts to the accounts list in the window. + SAPtr = SearchAccounts; SALPtr = SearchAccountsList; std::map::iterator SALiter; @@ -113,5 +115,9 @@ void frmSearchAccounts::UpdateSelectedAccounts( wxCommandEvent& event ) void frmSearchAccounts::CloseWindow( wxCommandEvent& event ) { + + // Close this window. + this->Close(); + } -- 2.39.2