diff options
author | George Hazan <ghazan@miranda.im> | 2017-10-25 19:01:09 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2017-10-25 19:01:09 +0300 |
commit | 083bf4917323edb4b73489d8261393a99f3edea1 (patch) | |
tree | 886f6f47a1391608a11ff0c30fabca710a4f1ade /plugins/Scriver/src/chat_window.cpp | |
parent | 55df6c3d447e7e3864b4e1cad671aaa0e74be16c (diff) |
click emulator used instead of direct handler call
Diffstat (limited to 'plugins/Scriver/src/chat_window.cpp')
-rw-r--r-- | plugins/Scriver/src/chat_window.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
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;
}
|