From c3047f02ba93ade075957a8e4e793d364fc65673 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Sun, 12 Mar 2023 20:21:10 +0300 Subject: minor code cleaning --- plugins/TabSRMM/src/msgdialog.cpp | 4 ++-- plugins/TabSRMM/src/msgs.cpp | 2 +- plugins/TabSRMM/src/msgs.h | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) (limited to 'plugins/TabSRMM') diff --git a/plugins/TabSRMM/src/msgdialog.cpp b/plugins/TabSRMM/src/msgdialog.cpp index d6a30b3153..69b8231c04 100644 --- a/plugins/TabSRMM/src/msgdialog.cpp +++ b/plugins/TabSRMM/src/msgdialog.cpp @@ -309,8 +309,8 @@ LRESULT CALLBACK SplitterSubclassProc(HWND hwnd, UINT msg, WPARAM wParam, LPARAM ///////////////////////////////////////////////////////////////////////////////////////// -CMsgDialog::CMsgDialog(int iDlgId, MCONTACT hContact) : - CSuper(g_plugin, iDlgId), +CMsgDialog::CMsgDialog(MCONTACT hContact) : + CSuper(g_plugin, IDD_MSGSPLITNEW), m_pPanel(this), timerAwayMsg(this, 4), m_btnAdd(this, IDC_ADD), diff --git a/plugins/TabSRMM/src/msgs.cpp b/plugins/TabSRMM/src/msgs.cpp index 1c4448bff0..bfbd7cfeac 100644 --- a/plugins/TabSRMM/src/msgs.cpp +++ b/plugins/TabSRMM/src/msgs.cpp @@ -315,7 +315,7 @@ void TSAPI CreateNewTabForContact(TContainerData *pContainer, MCONTACT hContact, if (bActivateTab) TabCtrl_SetCurSel(pContainer->m_hwndTabs, iTabId); - CMsgDialog *pWindow = new CMsgDialog(IDD_MSGSPLITNEW, hContact); + CMsgDialog *pWindow = new CMsgDialog(hContact); pWindow->m_iTabID = iTabId; pWindow->m_pContainer = pContainer; pContainer->m_iChilds++; diff --git a/plugins/TabSRMM/src/msgs.h b/plugins/TabSRMM/src/msgs.h index 42dc16239b..52645fb1f7 100644 --- a/plugins/TabSRMM/src/msgs.h +++ b/plugins/TabSRMM/src/msgs.h @@ -602,7 +602,7 @@ public: CCtrlButton m_btnAdd, m_btnQuote, m_btnCancelAdd; public: - CMsgDialog(int dlgId, MCONTACT hContact); + CMsgDialog(MCONTACT hContact); CMsgDialog(SESSION_INFO *si); ~CMsgDialog(); -- cgit v1.2.3