summaryrefslogtreecommitdiff
path: root/plugins/TabSRMM/src/mim.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2016-12-17 19:59:32 +0300
committerGeorge Hazan <ghazan@miranda.im>2016-12-17 19:59:32 +0300
commit34d9db73c26ad24b1f8bf1e5a1949c407c9639ca (patch)
tree4e8875c6e3b9a18b947963edf9088aa0d915f9c0 /plugins/TabSRMM/src/mim.cpp
parent83175855d796e139c67d145e710336ec44660319 (diff)
- tabSRMM to share the kernel window list for chats & group chats;
- button creation nuances moved to the core
Diffstat (limited to 'plugins/TabSRMM/src/mim.cpp')
-rw-r--r--plugins/TabSRMM/src/mim.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/plugins/TabSRMM/src/mim.cpp b/plugins/TabSRMM/src/mim.cpp
index b222fdc845..9fbb141250 100644
--- a/plugins/TabSRMM/src/mim.cpp
+++ b/plugins/TabSRMM/src/mim.cpp
@@ -56,27 +56,27 @@ bool CMimAPI::m_haveBufferedPaint = false;
void CMimAPI::BroadcastMessage(UINT msg, WPARAM wParam, LPARAM lParam)
{
- WindowList_Broadcast(m_hMessageWindowList, msg, wParam, lParam);
+ WindowList_Broadcast(pci->hWindowList, msg, wParam, lParam);
}
void CMimAPI::BroadcastMessageAsync(UINT msg, WPARAM wParam, LPARAM lParam)
{
- WindowList_BroadcastAsync(m_hMessageWindowList, msg, wParam, lParam);
+ WindowList_BroadcastAsync(pci->hWindowList, msg, wParam, lParam);
}
HWND CMimAPI::FindWindow(MCONTACT h) const
{
- return WindowList_Find(m_hMessageWindowList, h);
+ return WindowList_Find(pci->hWindowList, h);
}
INT_PTR CMimAPI::AddWindow(HWND hWnd, MCONTACT h)
{
- return WindowList_Add(m_hMessageWindowList, hWnd, h);
+ return WindowList_Add(pci->hWindowList, hWnd, h);
}
INT_PTR CMimAPI::RemoveWindow(HWND hWnd)
{
- return WindowList_Remove(m_hMessageWindowList, hWnd);
+ return WindowList_Remove(pci->hWindowList, hWnd);
}
/////////////////////////////////////////////////////////////////////////////////////////