summaryrefslogtreecommitdiff
path: root/plugins/TabSRMM/src/sidebar.cpp
diff options
context:
space:
mode:
authorTobias Weimer <wishmaster51@googlemail.com>2015-08-28 20:30:29 +0000
committerTobias Weimer <wishmaster51@googlemail.com>2015-08-28 20:30:29 +0000
commit86ffbe56a77e202ee195bc48a8d61b454e256b84 (patch)
tree28cbb2e1bf93a80a00ad27ab1928c86ae792be73 /plugins/TabSRMM/src/sidebar.cpp
parent515b07f0d98c647c5151867d75a6c8a05d329bfa (diff)
TabSEMM:
- minor leak fixed - code cleaning git-svn-id: http://svn.miranda-ng.org/main/trunk@15073 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/TabSRMM/src/sidebar.cpp')
-rw-r--r--plugins/TabSRMM/src/sidebar.cpp14
1 files changed, 4 insertions, 10 deletions
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();