summaryrefslogtreecommitdiff
path: root/plugins/TabSRMM/src/chat_window.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2017-03-14 12:19:39 +0300
committerGeorge Hazan <ghazan@miranda.im>2017-03-14 12:19:39 +0300
commitabf4069c2e3473da8f1d468e46c19951935a912f (patch)
tree2043f9159bf5f9ae9bd71ae7285c38f8ec1b4fd5 /plugins/TabSRMM/src/chat_window.cpp
parent28664fa2341425bd0ece0ee457b0fa0982226a3a (diff)
fixes #744
Diffstat (limited to 'plugins/TabSRMM/src/chat_window.cpp')
-rw-r--r--plugins/TabSRMM/src/chat_window.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/plugins/TabSRMM/src/chat_window.cpp b/plugins/TabSRMM/src/chat_window.cpp
index a329b85f59..74c634b913 100644
--- a/plugins/TabSRMM/src/chat_window.cpp
+++ b/plugins/TabSRMM/src/chat_window.cpp
@@ -1585,7 +1585,7 @@ void CChatRoomDlg::OnInitDialog()
m_log.SendMsg(EM_SETOLECALLBACK, 0, (LPARAM)&reOleCallback);
m_log.SendMsg(EM_AUTOURLDETECT, 1, 0);
SetWindowLongPtr(GetDlgItem(m_hwnd, IDC_PANELSPLITTER), GWLP_WNDPROC, (LONG_PTR)SplitterSubclassProc);
- TABSRMM_FireEvent(m_hContact, m_hwnd, MSG_WINDOW_EVT_OPENING, 0);
+ FireEvent(MSG_WINDOW_EVT_OPENING, 0);
m_log.SendMsg(EM_SETEVENTMASK, 0, m_log.SendMsg(EM_GETEVENTMASK, 0, 0) | ENM_LINK | ENM_MOUSEEVENTS | ENM_KEYEVENTS);
m_log.SendMsg(EM_LIMITTEXT, 0x7FFFFFFF, 0);
@@ -1640,7 +1640,7 @@ void CChatRoomDlg::OnInitDialog()
ShowWindow(m_hwnd, SW_SHOW);
UpdateNickList();
m_pContainer->hwndActive = m_hwnd;
- TABSRMM_FireEvent(m_hContact, m_hwnd, MSG_WINDOW_EVT_OPEN, 0);
+ FireEvent(MSG_WINDOW_EVT_OPEN, 0);
}
void CChatRoomDlg::OnDestroy()
@@ -1656,7 +1656,7 @@ void CChatRoomDlg::OnDestroy()
m_si->pDlg = nullptr;
m_si = nullptr;
- TABSRMM_FireEvent(m_hContact, m_hwnd, MSG_WINDOW_EVT_CLOSING, 0);
+ FireEvent(MSG_WINDOW_EVT_CLOSING, 0);
DM_FreeTheme();
@@ -1685,7 +1685,7 @@ void CChatRoomDlg::OnDestroy()
M.RemoveWindow(m_hwnd);
- TABSRMM_FireEvent(m_hContact, m_hwnd, MSG_WINDOW_EVT_CLOSE, 0);
+ FireEvent(MSG_WINDOW_EVT_CLOSE, 0);
memset((void*)&m_pContainer->mOld, -1000, sizeof(MARGINS));
PostMessage(m_pContainer->hwnd, WM_SIZE, 0, 1);