summaryrefslogtreecommitdiff
path: root/plugins/Scriver/src/chat_window.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2017-04-03 23:52:09 +0300
committerGeorge Hazan <ghazan@miranda.im>2017-04-03 23:52:09 +0300
commit7f513673b523ecfbf6ded0a2d0e5cdf5496bd6b0 (patch)
tree676bd7211644596d2faf9e95cb0acf7f1f2cb7ee /plugins/Scriver/src/chat_window.cpp
parent62cb48be341f443dbe356d37fb6d708167898ded (diff)
- SRMM window list management moved to the base class;
- fixes #791
Diffstat (limited to 'plugins/Scriver/src/chat_window.cpp')
-rw-r--r--plugins/Scriver/src/chat_window.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/plugins/Scriver/src/chat_window.cpp b/plugins/Scriver/src/chat_window.cpp
index 288fbdf6ff..4efe867148 100644
--- a/plugins/Scriver/src/chat_window.cpp
+++ b/plugins/Scriver/src/chat_window.cpp
@@ -213,7 +213,6 @@ void CChatRoomDlg::OnInitDialog()
NotifyEvent(MSG_WINDOW_EVT_OPENING);
- SetWindowLongPtr(m_hwnd, GWLP_USERDATA, (LONG_PTR)this);
m_pParent = (ParentWindowData *)GetWindowLongPtr(m_hwndParent, GWLP_USERDATA);
Srmm_CreateToolbarIcons(m_hwnd, BBBF_ISCHATBUTTON);
@@ -273,7 +272,6 @@ void CChatRoomDlg::OnDestroy()
NotifyEvent(MSG_WINDOW_EVT_CLOSING);
m_si->pDlg = nullptr;
- SetWindowLongPtr(m_hwnd, GWLP_USERDATA, 0);
SendMessage(m_hwndParent, CM_REMOVECHILD, 0, (LPARAM)m_hwnd);
if (m_hwndIeview != nullptr) {