X-Git-Url: http://Server1/repobrowser/?a=blobdiff_plain;f=source%2Fsearch%2FfrmSearchAccounts.cpp;h=2a87e79b755e0c84b7e36a1c1dd244ed3faa5e77;hb=ce6b921249b87bb62df485af240697ba81cd409d;hp=d968e4cd5148b7a16a45627d732b82b8f5bf3a20;hpb=3820558076f690eb08108a03bbed0db397119913;p=xestiaab%2F.git diff --git a/source/search/frmSearchAccounts.cpp b/source/search/frmSearchAccounts.cpp index d968e4c..2a87e79 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; @@ -53,7 +55,6 @@ void frmSearchAccounts::LoadSearchAccounts(std::map *SearchAccou } chlAccounts->Append(AccList); - //chlAccounts->SetSelection(wxNOT_FOUND); // Check if each account is selected. @@ -113,5 +114,9 @@ void frmSearchAccounts::UpdateSelectedAccounts( wxCommandEvent& event ) void frmSearchAccounts::CloseWindow( wxCommandEvent& event ) { + + // Close this window. + this->Close(); + }