summaryrefslogtreecommitdiff
path: root/plugins/MirLua/src/mlua_options.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/MirLua/src/mlua_options.cpp')
-rw-r--r--plugins/MirLua/src/mlua_options.cpp12
1 files changed, 1 insertions, 11 deletions
diff --git a/plugins/MirLua/src/mlua_options.cpp b/plugins/MirLua/src/mlua_options.cpp
index dce88057d6..0a21f37c46 100644
--- a/plugins/MirLua/src/mlua_options.cpp
+++ b/plugins/MirLua/src/mlua_options.cpp
@@ -19,7 +19,7 @@ BOOL CCtrlScriptList::OnNotify(int idCtrl, NMHDR *pnmh)
/****************************************/
CMLuaOptions::CMLuaOptions(int idDialog)
- : CDlgBase(g_hInstance, idDialog),
+ : CPluginDlgBase(g_hInstance, idDialog, MODULE),
m_popupOnError(this, IDC_POPUPONERROR),
m_popupOnObsolete(this, IDC_POPUPONOBSOLETE),
isScriptListInit(false), m_scripts(this, IDC_SCRIPTS),
@@ -32,16 +32,6 @@ CMLuaOptions::CMLuaOptions(int idDialog)
m_reload.OnClick = Callback(this, &CMLuaOptions::OnReload);
}
-void CMLuaOptions::CreateLink(CCtrlData& ctrl, const char *szSetting, BYTE type, DWORD iValue)
-{
- ctrl.CreateDbLink(MODULE, szSetting, type, iValue);
-}
-
-void CMLuaOptions::CreateLink(CCtrlData& ctrl, const char *szSetting, TCHAR *szValue)
-{
- ctrl.CreateDbLink(MODULE, szSetting, szValue);
-}
-
void CMLuaOptions::LoadScripts()
{
for (int i = 0; i < g_mLua->Scripts.getCount(); i++)