summaryrefslogtreecommitdiff
path: root/plugins/TabSRMM/src/msgdialog.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2017-03-10 21:46:59 +0300
committerGeorge Hazan <ghazan@miranda.im>2017-03-10 21:47:09 +0300
commitb9a3a98d6f2695a36ca27fa2d88e99fedd72cc98 (patch)
treebeea931b224074701afadd5072db524d1b179219 /plugins/TabSRMM/src/msgdialog.cpp
parentbdbb894df1353ba2f5e8eb61a59acf901fd652e5 (diff)
Group chats:
- GC_CONTROL_MSG left us forever; - tons of old/unused/useless slack simply wiped out; - new function: CSrmmBaseDialog::ClearLog
Diffstat (limited to 'plugins/TabSRMM/src/msgdialog.cpp')
-rw-r--r--plugins/TabSRMM/src/msgdialog.cpp15
1 files changed, 3 insertions, 12 deletions
diff --git a/plugins/TabSRMM/src/msgdialog.cpp b/plugins/TabSRMM/src/msgdialog.cpp
index 28231fa2b8..facf8f9345 100644
--- a/plugins/TabSRMM/src/msgdialog.cpp
+++ b/plugins/TabSRMM/src/msgdialog.cpp
@@ -154,7 +154,7 @@ static void ShowPopupMenu(CTabBaseDlg *dat, int idFrom, HWND hwndFrom, POINT pt)
SendMessage(hwndFrom, EM_EXSETSEL, 0, (LPARAM)&all);
break;
case IDM_CLEAR:
- dat->ClearLog();
+ dat->tabClearLog();
break;
case ID_LOG_FREEZELOG:
SendDlgItemMessage(hwndDlg, IDC_LOG, WM_KEYDOWN, VK_F12, 0);
@@ -921,7 +921,7 @@ CSrmmWindow::CSrmmWindow()
{
}
-void CSrmmWindow::ClearLog()
+void CSrmmWindow::tabClearLog()
{
if (m_hwndIEView || m_hwndHPP) {
IEVIEWEVENT event;
@@ -942,7 +942,7 @@ void CSrmmWindow::ClearLog()
m_hDbEventFirst = 0;
}
-CThumbBase* CSrmmWindow::CreateThumb(CProxyWindow *pProxy) const
+CThumbBase* CSrmmWindow::tabCreateThumb(CProxyWindow *pProxy) const
{
return new CThumbIM(pProxy);
}
@@ -2512,15 +2512,6 @@ INT_PTR CSrmmWindow::DlgProc(UINT uMsg, WPARAM wParam, LPARAM lParam)
break;
case WM_COMMAND:
- if (!this)
- break;
-
- // custom button handling
- if (LOWORD(wParam) >= MIN_CBUTTONID && LOWORD(wParam) <= MAX_CBUTTONID) {
- Srmm_ClickToolbarIcon(m_hContact, LOWORD(wParam), GetDlgItem(m_hwnd, LOWORD(wParam)), 0);
- break;
- }
-
switch (LOWORD(wParam)) {
case IDOK:
if (m_bEditNotesActive) {