summaryrefslogtreecommitdiff
path: root/plugins/TabSRMM/src/sidebar.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2021-03-07 20:47:17 +0300
committerGeorge Hazan <ghazan@miranda.im>2021-03-07 20:47:17 +0300
commit2eb1e940e68d81d72d8a3cb0798e7a4cdc9ce5e6 (patch)
treee53e14563de128f725102549e476083e3cc70f68 /plugins/TabSRMM/src/sidebar.cpp
parent9852392895d7c94c84ff3b4ff8966676a493f87c (diff)
further code cleaning & simplification
Diffstat (limited to 'plugins/TabSRMM/src/sidebar.cpp')
-rw-r--r--plugins/TabSRMM/src/sidebar.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/TabSRMM/src/sidebar.cpp b/plugins/TabSRMM/src/sidebar.cpp
index 1ee5f238fa..3a433f2a19 100644
--- a/plugins/TabSRMM/src/sidebar.cpp
+++ b/plugins/TabSRMM/src/sidebar.cpp
@@ -326,7 +326,7 @@ int CSideBarButton::testCloseButton() const
void CSideBarButton::activateSession() const
{
if (m_dat)
- ::SendMessage(m_dat->GetHwnd(), DM_ACTIVATEME, 0, 0);
+ m_dat->ActivateTab();
}
/////////////////////////////////////////////////////////////////////////////////////////