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/Scriver | |
parent | 73d12d0f6eb5c673a951eec94ddf5cdeeacde369 (diff) |
CDlgBase::CDlgBase now receives a reference to CMPlugin instead of HINSTANCE
Diffstat (limited to 'plugins/Scriver')
-rw-r--r-- | plugins/Scriver/src/msgoptions.cpp | 2 | ||||
-rw-r--r-- | plugins/Scriver/src/msgs.cpp | 2 | ||||
-rw-r--r-- | plugins/Scriver/src/msgtimedout.cpp | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/plugins/Scriver/src/msgoptions.cpp b/plugins/Scriver/src/msgoptions.cpp index d2e4f6806a..30d35d39cf 100644 --- a/plugins/Scriver/src/msgoptions.cpp +++ b/plugins/Scriver/src/msgoptions.cpp @@ -622,7 +622,7 @@ class CLogOptionsDlg : public CDlgBase public:
CLogOptionsDlg() :
- CDlgBase(g_plugin.getInst(), IDD_OPT_MSGLOG),
+ CDlgBase(g_plugin, IDD_OPT_MSGLOG),
m_log(this, IDC_SRMM_LOG)
{}
diff --git a/plugins/Scriver/src/msgs.cpp b/plugins/Scriver/src/msgs.cpp index a1f94fc2a6..cb41109d0e 100644 --- a/plugins/Scriver/src/msgs.cpp +++ b/plugins/Scriver/src/msgs.cpp @@ -326,7 +326,7 @@ static int AvatarChanged(WPARAM wParam, LPARAM lParam) // CScriverWindow
CScriverWindow::CScriverWindow(int iDialog, SESSION_INFO *si)
- : CSrmmBaseDialog(g_plugin.getInst(), iDialog, si)
+ : CSrmmBaseDialog(g_plugin, iDialog, si)
{
m_autoClose = CLOSE_ON_CANCEL;
}
diff --git a/plugins/Scriver/src/msgtimedout.cpp b/plugins/Scriver/src/msgtimedout.cpp index 1c2a5663db..672b5ea81d 100644 --- a/plugins/Scriver/src/msgtimedout.cpp +++ b/plugins/Scriver/src/msgtimedout.cpp @@ -24,7 +24,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. #include "stdafx.h"
CErrorDlg::CErrorDlg(const wchar_t *pwszDescr, HWND hWnd, MessageSendQueueItem *pItem)
- : CDlgBase(g_plugin.getInst(), IDD_MSGSENDERROR),
+ : CDlgBase(g_plugin, IDD_MSGSENDERROR),
m_wszText(mir_utf8decodeW(pItem->sendBuffer)),
m_wszDescr(pwszDescr != nullptr ? pwszDescr : TranslateT("An unknown error has occurred.")),
m_hwndParent(hWnd),
|