summaryrefslogtreecommitdiff
path: root/plugins/TabSRMM/src/generic_msghandlers.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2017-04-04 00:20:24 +0300
committerGeorge Hazan <ghazan@miranda.im>2017-04-04 00:20:24 +0300
commit5c3ab50ab27ba9a517cf56d0626c641883e3fd39 (patch)
tree553f38fa4a7673d710ee18f570201d177e2f64ac /plugins/TabSRMM/src/generic_msghandlers.cpp
parent7f513673b523ecfbf6ded0a2d0e5cdf5496bd6b0 (diff)
SRMM window list completely incapsulated into mir_app to avoid corrupting it by someone's dirty hands
Diffstat (limited to 'plugins/TabSRMM/src/generic_msghandlers.cpp')
-rw-r--r--plugins/TabSRMM/src/generic_msghandlers.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/TabSRMM/src/generic_msghandlers.cpp b/plugins/TabSRMM/src/generic_msghandlers.cpp
index f507994631..0137a4ce52 100644
--- a/plugins/TabSRMM/src/generic_msghandlers.cpp
+++ b/plugins/TabSRMM/src/generic_msghandlers.cpp
@@ -322,7 +322,7 @@ LRESULT CTabBaseDlg::DM_MsgWindowCmdHandler(UINT cmd, WPARAM wParam, LPARAM lPar
m_SendFormat = M.GetDword(m_hContact, "sendformat", PluginConfig.m_SendFormat);
if (m_SendFormat == -1) // per contact override to disable it..
m_SendFormat = 0;
- M.BroadcastMessage(DM_CONFIGURETOOLBAR, 0, 1);
+ Srmm_Broadcast(DM_CONFIGURETOOLBAR, 0, 1);
}
}
break;
@@ -1362,9 +1362,9 @@ static HANDLE hHookIconPressedEvt;
static int OnSrmmIconChanged(WPARAM hContact, LPARAM)
{
if (hContact == 0)
- M.BroadcastMessage(DM_STATUSICONCHANGE, 0, 0);
+ Srmm_Broadcast(DM_STATUSICONCHANGE, 0, 0);
else {
- HWND hwnd = M.FindWindow(hContact);
+ HWND hwnd = Srmm_FindWindow(hContact);
if (hwnd)
PostMessage(hwnd, DM_STATUSICONCHANGE, 0, 0);
}