From 974a0d586c5480559439d4756c3ce5fb3876da0c Mon Sep 17 00:00:00 2001 From: Steve Brokenshire Date: Sun, 29 Oct 2017 19:55:40 +0000 Subject: [PATCH] frmMain: Remove unused function UpdateAccountList --- source/frmMain.cpp | 8 -------- source/frmMain.h | 2 -- 2 files changed, 10 deletions(-) diff --git a/source/frmMain.cpp b/source/frmMain.cpp index 03f8cd9..e9ce304 100644 --- a/source/frmMain.cpp +++ b/source/frmMain.cpp @@ -65,7 +65,6 @@ // Define the event types. DEFINE_EVENT_TYPE(CE_UPDATECONTACTLIST); -DEFINE_EVENT_TYPE(CE_UPDATEACCOUNTLIST); DEFINE_EVENT_TYPE(SE_UPDATECONTACTNOTIF); DEFINE_EVENT_TYPE(CE_OPENCONTACT); DEFINE_EVENT_TYPE(CE_OPENCONTACTLIST); @@ -99,7 +98,6 @@ DEFINE_EVENT_TYPE(INVALIDSSLTRUST); BEGIN_EVENT_TABLE(frmMain, wxFrame) EVT_COMMAND(wxID_ANY, wxEVT_COMMAND_BUTTON_CLICKED, frmMain::ConflictResolution) EVT_COMMAND(wxID_ANY, CE_UPDATECONTACTLIST, frmMain::UpdateContactList) -EVT_COMMAND(wxID_ANY, CE_UPDATEACCOUNTLIST, frmMain::UpdateAccountList) EVT_COMMAND(wxID_ANY, SE_UPDATECONTACTNOTIF, frmMain::UpdateSearchContactLists) EVT_COMMAND(wxID_ANY, CE_OPENCONTACT, frmMain::OpenContactInfo) EVT_COMMAND(wxID_ANY, CE_OPENCONTACTLIST, frmMain::OpenContactInfoList) @@ -1789,12 +1787,6 @@ void frmMain::UpdateContactList(wxCommandEvent& event){ } -void frmMain::UpdateAccountList(wxCommandEvent& event){ - - // Update the account list (currently unimplemented). - -} - void frmMain::SetupPointers(void *ActMgrPtrInc){ // Setup the pointers for the main window. diff --git a/source/frmMain.h b/source/frmMain.h index dd4273b..59b4c54 100644 --- a/source/frmMain.h +++ b/source/frmMain.h @@ -56,7 +56,6 @@ Subclass of frmMainADT, which is generated by wxFormBuilder. //// end generated include DECLARE_EVENT_TYPE(CE_UPDATECONTACTLIST, wxID_ANY) -DECLARE_EVENT_TYPE(CE_UPDATEACCOUNTLIST, wxID_ANY) DECLARE_EVENT_TYPE(SE_UPDATECONTACTNOTIF, wxID_ANY) DECLARE_EVENT_TYPE(CE_OPENCONTACT, wxID_ANY) DECLARE_EVENT_TYPE(CE_OPENCONTACTLIST, wxID_ANY) @@ -221,7 +220,6 @@ class frmMain : public frmMainADT const std::wstring &name); void ConflictResolution( wxCommandEvent& event ); void UpdateContactList( wxCommandEvent& event ); - void UpdateAccountList( wxCommandEvent& event ); void UpdateSearchContactLists( wxCommandEvent& event ); void OpenFindContactsWindow(wxCommandEvent& event); void RevealContact( wxCommandEvent& event ); -- 2.39.5