From f4990ff8fd11ee3a231e93bd9ce0a1c4851d6ebb Mon Sep 17 00:00:00 2001 From: Steve Brokenshire Date: Mon, 30 Nov 2015 13:15:57 +0000 Subject: [PATCH] Removed commented out code from the frmMain constructor. --- source/frmMain.cpp | 31 ------------------------------- 1 file changed, 31 deletions(-) diff --git a/source/frmMain.cpp b/source/frmMain.cpp index 4dd2b11..150e7f9 100644 --- a/source/frmMain.cpp +++ b/source/frmMain.cpp @@ -226,29 +226,6 @@ frmMainADT( parent ) AccCtrl->SetPopupMaxHeight(175); AccCtrl->SetPopupMinWidth(250); treAccounts->AssignImageList(AccImgList); - //bmpIcon->Hide(); - - /*wxStaticBitmap* BeepBoop = new wxStaticBitmap(AccCtrl, wxID_ANY, wxNullBitmap, wxPoint(AccTextCtrlSize.GetX() + 3, AccTextCtrlSize.GetY() + 2), wxDefaultSize, 0); - - icons_accgroup_png.SetMask(new wxMask(icons_accgroup_png, wxSystemSettings::GetColour(wxSYS_COLOUR_BACKGROUND))); - - BeepBoop->SetBackgroundColour(AccCtrl->GetBackgroundColour()); - BeepBoop->SetBitmap(icons_accgroup_png);*/ - - //szrContactList->Insert(0, XABV2, 1, wxEXPAND | wxALL, 0); - - /*AccControl->UseAltPopupWindow(); - AccControl->SetPopupControl(treAccounts); - AccControl->SetPopupMaxHeight(175); - - treAccounts->AssignImageList(AccImgList); - szrContactList->Insert(0, AccControl, 1, wxEXPAND|wxALL, 0); - szrAccList->Add(AccIcon, 0, wxLEFT|wxTOP|wxEXPAND, 3); - - */ - - //szrContactList->Layout(); - //szrContactList->RecalcSizes(); wxListItem ColumnData; ColumnData.SetId(0); @@ -256,14 +233,6 @@ frmMainADT( parent ) ColumnData.SetWidth(320); lstContacts->InsertColumn(0, ColumnData); - //Connect(wxID_ANY, ContactConflictCmdEnv, - // ContactConflictEventHandler(frmMain::ConflictResolution), NULL, this); - - //Connect(wxID_ANY, MyFooCommandEvent, - // MyFooEventHandler(frmMain::DoSomething), NULL, this); - - //Bind(ContactConflictCmdEnv, ContactConflictEventHandler(frmMain::ConflictResolution), this, wxID_ANY); - treAccounts->Connect(wxEVT_LEFT_DCLICK, wxTreeEventHandler(frmMain::LoadContactList), NULL, this); treAccounts->Connect(wxEVT_TREE_SEL_CHANGED, wxTreeEventHandler(frmMain::LoadContactList), NULL, this); -- 2.39.2