From 19bf42ce996ea933dfbb234034ff317a7edd3bf0 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Sat, 25 Mar 2017 13:18:45 +0300 Subject: fix to prevent duplicate event processing --- plugins/Scriver/src/chat_window.cpp | 4 ++-- plugins/Scriver/src/msgdialog.cpp | 5 +++-- 2 files changed, 5 insertions(+), 4 deletions(-) (limited to 'plugins/Scriver') diff --git a/plugins/Scriver/src/chat_window.cpp b/plugins/Scriver/src/chat_window.cpp index e7b3ecd9bc..314daf7696 100644 --- a/plugins/Scriver/src/chat_window.cpp +++ b/plugins/Scriver/src/chat_window.cpp @@ -790,7 +790,7 @@ LRESULT CChatRoomDlg::WndProc_Message(UINT msg, WPARAM wParam, LPARAM lParam) return 0; } - return 0; + return CSuper::WndProc_Message(msg, wParam, lParam); } ///////////////////////////////////////////////////////////////////////////////////////// @@ -914,7 +914,7 @@ LRESULT CChatRoomDlg::WndProc_Log(UINT msg, WPARAM wParam, LPARAM lParam) break; } - return 0; + return CSuper::WndProc_Log(msg, wParam, lParam); } ///////////////////////////////////////////////////////////////////////////////////////// diff --git a/plugins/Scriver/src/msgdialog.cpp b/plugins/Scriver/src/msgdialog.cpp index 69f8681857..c51e8da8f2 100644 --- a/plugins/Scriver/src/msgdialog.cpp +++ b/plugins/Scriver/src/msgdialog.cpp @@ -1046,7 +1046,8 @@ LRESULT CSrmmWindow::WndProc_Log(UINT msg, WPARAM wParam, LPARAM lParam) DestroyMenu(hMenu); return TRUE; } - return 0; + + return CSuper::WndProc_Log(msg, wParam, lParam); } LRESULT CSrmmWindow::WndProc_Message(UINT msg, WPARAM wParam, LPARAM lParam) @@ -1120,7 +1121,7 @@ LRESULT CSrmmWindow::WndProc_Message(UINT msg, WPARAM wParam, LPARAM lParam) InputAreaContextMenu(m_message.GetHwnd(), wParam, lParam, m_hContact); return TRUE; } - return 0; + return CSuper::WndProc_Message(msg, wParam, lParam); } ///////////////////////////////////////////////////////////////////////////////////////// -- cgit v1.2.3