summaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
Diffstat (limited to 'plugins')
-rw-r--r--plugins/Scriver/src/chat_window.cpp6
-rw-r--r--plugins/TabSRMM/src/generic_msghandlers.cpp2
-rw-r--r--plugins/TabSRMM/src/msgdialog.cpp8
3 files changed, 8 insertions, 8 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;
}
diff --git a/plugins/TabSRMM/src/generic_msghandlers.cpp b/plugins/TabSRMM/src/generic_msghandlers.cpp
index 626d5f45a6..6f6ca314bb 100644
--- a/plugins/TabSRMM/src/generic_msghandlers.cpp
+++ b/plugins/TabSRMM/src/generic_msghandlers.cpp
@@ -126,7 +126,7 @@ bool CTabBaseDlg::DM_GenericHotkeysCheck(MSG *message)
return true;
case TABSRMM_HK_HISTORY:
- m_btnHistory.OnClick(&m_btnHistory);
+ m_btnHistory.Click();
return true;
case TABSRMM_HK_CONTAINEROPTIONS:
diff --git a/plugins/TabSRMM/src/msgdialog.cpp b/plugins/TabSRMM/src/msgdialog.cpp
index 147555a9c3..f5405007f5 100644
--- a/plugins/TabSRMM/src/msgdialog.cpp
+++ b/plugins/TabSRMM/src/msgdialog.cpp
@@ -1898,7 +1898,7 @@ LRESULT CSrmmWindow::WndProc_Log(UINT msg, WPARAM wParam, LPARAM lParam)
if (wParam == 0x03 && isCtrl) // Ctrl+C
return WMCopyHandler(msg, wParam, lParam);
if (wParam == 0x11 && isCtrl) // Ctrl+Q
- m_btnQuote.OnClick(&m_btnQuote);
+ m_btnQuote.Click();
break;
case WM_SYSKEYUP:
@@ -1997,15 +1997,15 @@ LRESULT CSrmmWindow::WndProc_Message(UINT msg, WPARAM wParam, LPARAM lParam)
switch (wParam) {
case 0x02: // bold
if (m_SendFormat)
- m_btnBold.OnClick(&m_btnBold);
+ m_btnBold.Click();
return 0;
case 0x09:
if (m_SendFormat)
- m_btnItalic.OnClick(&m_btnItalic);
+ m_btnItalic.Click();
return 0;
case 21:
if (m_SendFormat)
- m_btnUnderline.OnClick(&m_btnUnderline);
+ m_btnUnderline.Click();
return 0;
case 0x0b:
m_message.SetText(L"");