From 34e059269d3c8a5d999575efce347c116b7be52a Mon Sep 17 00:00:00 2001 From: George Hazan Date: Thu, 23 Mar 2017 22:06:53 +0300 Subject: usual crutches sometimes don't work, we need the stronger ones --- plugins/Scriver/src/chat_window.cpp | 2 ++ plugins/Scriver/src/msgdialog.cpp | 2 ++ plugins/Scriver/src/msgs.h | 5 +++++ 3 files changed, 9 insertions(+) (limited to 'plugins/Scriver') diff --git a/plugins/Scriver/src/chat_window.cpp b/plugins/Scriver/src/chat_window.cpp index 1dbf67ea87..bb9b543bea 100644 --- a/plugins/Scriver/src/chat_window.cpp +++ b/plugins/Scriver/src/chat_window.cpp @@ -322,6 +322,8 @@ void CChatRoomDlg::OnDestroy() } NotifyLocalWinEvent(m_hContact, m_hwnd, MSG_WINDOW_EVT_CLOSE); + + CSuper::OnDestroy(); } void CChatRoomDlg::OnSplitterX(CSplitter *pSplitter) diff --git a/plugins/Scriver/src/msgdialog.cpp b/plugins/Scriver/src/msgdialog.cpp index 4ff67f7b9a..36a11f9e6c 100644 --- a/plugins/Scriver/src/msgdialog.cpp +++ b/plugins/Scriver/src/msgdialog.cpp @@ -466,6 +466,8 @@ void CSrmmWindow::OnDestroy() CallService(MS_IEVIEW_WINDOW, 0, (LPARAM)&ieWindow); } NotifyLocalWinEvent(m_hContact, m_hwnd, MSG_WINDOW_EVT_CLOSE); + + CSuper::OnDestroy(); } ///////////////////////////////////////////////////////////////////////////////////////// diff --git a/plugins/Scriver/src/msgs.h b/plugins/Scriver/src/msgs.h index 7cad122c1f..b2c824a3d5 100644 --- a/plugins/Scriver/src/msgs.h +++ b/plugins/Scriver/src/msgs.h @@ -87,6 +87,7 @@ struct ParentWindowData class CScriverWindow : public CSrmmBaseDialog { + typedef CSrmmBaseDialog CSuper; protected: CScriverWindow(int iDialog, SESSION_INFO* = nullptr); @@ -105,6 +106,8 @@ public: class CSrmmWindow : public CScriverWindow { + typedef CScriverWindow CSuper; + CCtrlEdit m_log, m_message; CCtrlButton m_btnOk, m_btnAdd, m_btnUserMenu, m_btnQuote, m_btnDetails; CSplitter m_splitter; @@ -183,6 +186,8 @@ public: class CChatRoomDlg : public CScriverWindow { + typedef CScriverWindow CSuper; + CCtrlEdit m_message, m_log; CCtrlButton m_btnOk; CSplitter m_splitterX, m_splitterY; -- cgit v1.2.3