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/StopSpamPlus/src | |
parent | 73d12d0f6eb5c673a951eec94ddf5cdeeacde369 (diff) |
CDlgBase::CDlgBase now receives a reference to CMPlugin instead of HINSTANCE
Diffstat (limited to 'plugins/StopSpamPlus/src')
-rw-r--r-- | plugins/StopSpamPlus/src/options.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/StopSpamPlus/src/options.cpp b/plugins/StopSpamPlus/src/options.cpp index 9ecf9d5cae..d540a290d5 100644 --- a/plugins/StopSpamPlus/src/options.cpp +++ b/plugins/StopSpamPlus/src/options.cpp @@ -9,7 +9,7 @@ class COptMainDlg : public CPluginDlgBase public:
COptMainDlg() :
- CPluginDlgBase(g_plugin.getInst(), IDD_MAIN, pluginName),
+ CPluginDlgBase(g_plugin, IDD_MAIN, pluginName),
edtCount(this, ID_MAXQUESTCOUNT),
edtDescr(this, ID_DESCRIPTION),
chk1(this, ID_INFTALKPROT),
@@ -44,7 +44,7 @@ class COptMessageDlg : public CPluginDlgBase public:
COptMessageDlg() :
- CPluginDlgBase(g_plugin.getInst(), IDD_MESSAGES, pluginName),
+ CPluginDlgBase(g_plugin, IDD_MESSAGES, pluginName),
btnHelp(this, IDC_VARS),
btnRestore(this, ID_RESTOREDEFAULTS),
edtQuestion(this, ID_QUESTION),
@@ -94,7 +94,7 @@ class COptAccountDlg : public CPluginDlgBase public:
COptAccountDlg() :
- CPluginDlgBase(g_plugin.getInst(), IDD_PROTO, pluginName),
+ CPluginDlgBase(g_plugin, IDD_PROTO, pluginName),
m_accounts(this, IDC_PROTO)
{
m_accounts.OnItemChanged = Callback(this, &COptAccountDlg::list_OnItemChanged);
|