summaryrefslogtreecommitdiff
path: root/plugins/Scriver
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2017-03-23 22:06:53 +0300
committerGeorge Hazan <ghazan@miranda.im>2017-03-23 22:06:53 +0300
commit34e059269d3c8a5d999575efce347c116b7be52a (patch)
tree054a2d928dd54ae5de71114636b38e6e6b3d8687 /plugins/Scriver
parent7d191d7bf8dc09f8484a05d898c8d0971beaa10b (diff)
usual crutches sometimes don't work, we need the stronger ones
Diffstat (limited to 'plugins/Scriver')
-rw-r--r--plugins/Scriver/src/chat_window.cpp2
-rw-r--r--plugins/Scriver/src/msgdialog.cpp2
-rw-r--r--plugins/Scriver/src/msgs.h5
3 files changed, 9 insertions, 0 deletions
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;