diff options
-rw-r--r-- | plugins/TabSRMM/src/msgdialog.cpp | 4 | ||||
-rw-r--r-- | plugins/TabSRMM/src/msgs.cpp | 2 | ||||
-rw-r--r-- | plugins/TabSRMM/src/msgs.h | 2 |
3 files changed, 4 insertions, 4 deletions
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();
|