diff options
author | George Hazan <ghazan@miranda.im> | 2018-05-18 14:17:28 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2018-05-18 14:17:28 +0300 |
commit | 81c8606dd9aa39067353354aa4523be84ef51fd1 (patch) | |
tree | 3f157c302093074552d0f792c481c741277cd531 /plugins/TabSRMM/src | |
parent | 73d12d0f6eb5c673a951eec94ddf5cdeeacde369 (diff) |
CDlgBase::CDlgBase now receives a reference to CMPlugin instead of HINSTANCE
Diffstat (limited to 'plugins/TabSRMM/src')
-rw-r--r-- | plugins/TabSRMM/src/msgoptions.cpp | 12 | ||||
-rw-r--r-- | plugins/TabSRMM/src/msgs.cpp | 2 |
2 files changed, 7 insertions, 7 deletions
diff --git a/plugins/TabSRMM/src/msgoptions.cpp b/plugins/TabSRMM/src/msgoptions.cpp index 8a78e85925..1c155e1c2e 100644 --- a/plugins/TabSRMM/src/msgoptions.cpp +++ b/plugins/TabSRMM/src/msgoptions.cpp @@ -576,7 +576,7 @@ class COptMainDlg : public CDlgBase public:
COptMainDlg() :
- CDlgBase(g_plugin.getInst(), IDD_OPT_MSGDLG),
+ CDlgBase(g_plugin, IDD_OPT_MSGDLG),
urlHelp(this, IDC_HELP_GENERAL, "https://wiki.miranda-ng.org/index.php?title=Plugin:TabSRMM/en/General_settings"),
btnReset(this, IDC_RESETWARNINGS),
spnAvaSize(this, IDC_AVATARSPIN),
@@ -656,7 +656,7 @@ class COptLogDlg : public CDlgBase public:
COptLogDlg()
- : CDlgBase(g_plugin.getInst(), IDD_OPT_MSGLOG),
+ : CDlgBase(g_plugin, IDD_OPT_MSGLOG),
btnModify(this, IDC_MODIFY),
btnRtlModify(this, IDC_RTLMODIFY),
spnTrim(this, IDC_TRIMSPIN),
@@ -895,7 +895,7 @@ class COptTypingDlg : public CDlgBase public:
COptTypingDlg()
- : CDlgBase(g_plugin.getInst(), IDD_OPT_MSGTYPE),
+ : CDlgBase(g_plugin, IDD_OPT_MSGTYPE),
urlHelp(this, IDC_MTN_HELP, "https://wiki.miranda-ng.org/index.php?title=Plugin:TabSRMM/en/Advanced_tweaks"),
chkWin(this, IDC_TYPEWIN),
chkNoWin(this, IDC_TYPENOWIN),
@@ -1023,7 +1023,7 @@ class COptTabbedDlg : public CDlgBase public:
COptTabbedDlg() :
- CDlgBase(g_plugin.getInst(), IDD_OPT_TABBEDMSG),
+ CDlgBase(g_plugin, IDD_OPT_TABBEDMSG),
chkLimit(this, IDC_CUT_TABTITLE),
edtLimit(this, IDC_CUT_TITLEMAX),
spnLimit(this, IDC_CUT_TITLEMAXSPIN),
@@ -1114,7 +1114,7 @@ class COptContainersDlg : public CDlgBase public:
COptContainersDlg()
- : CDlgBase(g_plugin.getInst(), IDD_OPT_CONTAINERS),
+ : CDlgBase(g_plugin, IDD_OPT_CONTAINERS),
urlHelp(this, IDC_HELP_CONTAINERS, "https://wiki.miranda-ng.org/index.php?title=Plugin:TabSRMM/en/Containers"),
spnNumFlash(this, IDC_NRFLASHSPIN),
spnTabLimit(this, IDC_TABLIMITSPIN),
@@ -1196,7 +1196,7 @@ class COptAdvancedDlg : public CDlgBase public:
COptAdvancedDlg() :
- CDlgBase(g_plugin.getInst(), IDD_OPTIONS_PLUS),
+ CDlgBase(g_plugin, IDD_OPTIONS_PLUS),
urlHelp(this, IDC_PLUS_HELP, "https://wiki.miranda-ng.org/index.php?title=Plugin:TabSRMM/en/Typing_notifications"),
btnRevert(this, IDC_PLUS_REVERT),
spnTimeout(this, IDC_TIMEOUTSPIN),
diff --git a/plugins/TabSRMM/src/msgs.cpp b/plugins/TabSRMM/src/msgs.cpp index 6ceaa99cf9..270e04113a 100644 --- a/plugins/TabSRMM/src/msgs.cpp +++ b/plugins/TabSRMM/src/msgs.cpp @@ -62,7 +62,7 @@ int SmileyAddOptionsChanged(WPARAM, LPARAM) // basic window class
CTabBaseDlg::CTabBaseDlg(int iResource, SESSION_INFO *si)
- : CSrmmBaseDialog(g_plugin.getInst(), iResource, si),
+ : CSrmmBaseDialog(g_plugin, iResource, si),
m_pPanel(this),
m_dwFlags(MWF_INITMODE),
m_iInputAreaHeight(-1)
|