From 86ffbe56a77e202ee195bc48a8d61b454e256b84 Mon Sep 17 00:00:00 2001 From: Tobias Weimer Date: Fri, 28 Aug 2015 20:30:29 +0000 Subject: TabSEMM: - minor leak fixed - code cleaning git-svn-id: http://svn.miranda-ng.org/main/trunk@15073 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/TabSRMM/src/sidebar.cpp | 14 ++++---------- 1 file changed, 4 insertions(+), 10 deletions(-) (limited to 'plugins/TabSRMM/src/sidebar.cpp') diff --git a/plugins/TabSRMM/src/sidebar.cpp b/plugins/TabSRMM/src/sidebar.cpp index bf6ef9a345..e680da3e16 100644 --- a/plugins/TabSRMM/src/sidebar.cpp +++ b/plugins/TabSRMM/src/sidebar.cpp @@ -87,9 +87,7 @@ CSideBarButton::CSideBarButton(const UINT id, CSideBar *sideBar) _create(); } -/** - * Internal method to create the button item and configure the associated button control - */ +// Internal method to create the button item and configure the associated button control void CSideBarButton::_create() { m_hwnd = 0; @@ -330,18 +328,15 @@ int CSideBarButton::testCloseButton() const } return -1; } -/** - * call back from the button window procedure. Activate my session - */ + +// call back from the button window procedure. Activate my session void CSideBarButton::activateSession() const { if (m_dat) ::SendMessage(m_dat->hwnd, DM_ACTIVATEME, 0, 0); // the child window will activate itself } -/** - * show the context menu (same as on tabs - */ +// show the context menu (same as on tabs void CSideBarButton::invokeContextMenu() { const TContainerData *pContainer = m_sideBar->getContainer(); @@ -479,7 +474,6 @@ void CSideBar::destroyScroller() * Does not remove the sessions. This is basically only used when switching * from a sidebar to a tabbed interface */ - void CSideBar::removeAll() { m_buttonlist.destroy(); -- cgit v1.2.3