summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2017-10-26 21:20:58 +0300
committerGeorge Hazan <ghazan@miranda.im>2017-10-26 21:20:58 +0300
commit0e73e0337a4b2b3059942ac16c71cc86204de6c7 (patch)
treeed5b0c4f92378aa7e1b4406e3cd50fca5105214f /src
parent3bb329099c7827cb02602e5c9137417a49db8859 (diff)
oops
Diffstat (limited to 'src')
-rw-r--r--src/core/stdmsg/src/chat_window.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/stdmsg/src/chat_window.cpp b/src/core/stdmsg/src/chat_window.cpp
index 46b9bbb97f..3c130511ed 100644
--- a/src/core/stdmsg/src/chat_window.cpp
+++ b/src/core/stdmsg/src/chat_window.cpp
@@ -646,7 +646,7 @@ LRESULT CChatRoomDlg::WndProc_Message(UINT msg, WPARAM wParam, LPARAM lParam)
if (wParam == '\n' || wParam == '\r') {
if ((isCtrl != 0) ^ (0 != db_get_b(0, CHAT_MODULE, "SendOnEnter", 1))) {
- m_btnOk.Click();
+ m_btnOk.OnClick(&m_btnOk);
return 0;
}
if (db_get_b(0, CHAT_MODULE, "SendOnDblEnter", 0)) {
@@ -655,7 +655,7 @@ LRESULT CChatRoomDlg::WndProc_Message(UINT msg, WPARAM wParam, LPARAM lParam)
else {
m_message.SendMsg(WM_KEYDOWN, VK_BACK, 0);
m_message.SendMsg(WM_KEYUP, VK_BACK, 0);
- m_btnOk.Click();
+ m_btnOk.OnClick(&m_btnOk);
return 0;
}
}