From 083bf4917323edb4b73489d8261393a99f3edea1 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Wed, 25 Oct 2017 19:01:09 +0300 Subject: click emulator used instead of direct handler call --- plugins/Scriver/src/chat_window.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'plugins/Scriver') diff --git a/plugins/Scriver/src/chat_window.cpp b/plugins/Scriver/src/chat_window.cpp index 4f0c190a0c..7b22f4e8ad 100644 --- a/plugins/Scriver/src/chat_window.cpp +++ b/plugins/Scriver/src/chat_window.cpp @@ -713,18 +713,18 @@ LRESULT CChatRoomDlg::WndProc_Message(UINT msg, WPARAM wParam, LPARAM lParam) if (wParam == 0x4e && isCtrl && !isAlt) { // ctrl-n (nicklist) if (m_btnNickList.Enabled()) - m_btnNickList.OnClick(&m_btnNickList); + m_btnNickList.Click(); return TRUE; } if (wParam == 0x48 && isCtrl && !isAlt) { // ctrl-h (history) - m_btnHistory.OnClick(&m_btnHistory); + m_btnHistory.Click(); return TRUE; } if (wParam == 0x4f && isCtrl && !isAlt) { // ctrl-o (options) if (m_btnChannelMgr.Enabled()) - m_btnChannelMgr.OnClick(&m_btnChannelMgr); + m_btnChannelMgr.Click(); return TRUE; } -- cgit v1.2.3