diff options
Diffstat (limited to 'plugins/Dbx_mdbx/src/ui.h')
-rw-r--r-- | plugins/Dbx_mdbx/src/ui.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/plugins/Dbx_mdbx/src/ui.h b/plugins/Dbx_mdbx/src/ui.h index dc1a87c2e9..a76cedf625 100644 --- a/plugins/Dbx_mdbx/src/ui.h +++ b/plugins/Dbx_mdbx/src/ui.h @@ -40,7 +40,7 @@ class COptionsDialog : public CDlgBase public:
COptionsDialog(CDbxMDBX *db) :
- CDlgBase(g_hInst, IDD_OPTIONS),
+ CDlgBase(g_plugin.getInst(), IDD_OPTIONS),
m_chkStandart(this, IDC_STANDARD),
m_chkTotal(this, IDC_TOTAL),
m_btnChangePass(this, IDC_USERPASS),
@@ -84,7 +84,7 @@ class CSelectCryptoDialog : public CDlgBase public:
CSelectCryptoDialog(CRYPTO_PROVIDER **provs, size_t count) :
- CDlgBase(g_hInst, IDD_SELECT_CRYPTOPROVIDER),
+ CDlgBase(g_plugin.getInst(), IDD_SELECT_CRYPTOPROVIDER),
m_combo(this, IDC_SELECTCRYPT_COMBO),
m_descr(this, IDC_CRYPTOPROVIDER_DESCR),
m_chkTotalCrypt(this, IDC_CHECK_TOTALCRYPT),
@@ -146,7 +146,7 @@ class CEnterPasswordDialog : public CDlgBase void OnInitDialog()
{
- m_header.SendMsg(WM_SETICON, ICON_SMALL, (LPARAM)LoadIcon(g_hInst, MAKEINTRESOURCE(iconList[0].defIconID)));
+ m_header.SendMsg(WM_SETICON, ICON_SMALL, (LPARAM)LoadIcon(g_plugin.getInst(), MAKEINTRESOURCE(iconList[0].defIconID)));
if (m_param->wrongPass)
{
if (m_param->wrongPass > 2)
@@ -180,7 +180,7 @@ class CEnterPasswordDialog : public CDlgBase public:
CEnterPasswordDialog(DlgChangePassParam *param) :
- CDlgBase(g_hInst, IDD_LOGIN),
+ CDlgBase(g_plugin.getInst(), IDD_LOGIN),
m_header(this, IDC_HEADERBAR),
m_language(this, IDC_LANG),
m_passwordEdit(this, IDC_USERPASS),
|