From 81c8606dd9aa39067353354aa4523be84ef51fd1 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Fri, 18 May 2018 14:17:28 +0300 Subject: CDlgBase::CDlgBase now receives a reference to CMPlugin instead of HINSTANCE --- plugins/StopSpamPlus/src/options.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'plugins/StopSpamPlus/src') 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); -- cgit v1.2.3