From 41ee395da7530c17656bd06f84638ab8d9d3776d Mon Sep 17 00:00:00 2001 From: George Hazan Date: Sun, 20 May 2018 23:36:07 +0300 Subject: options API unbound from hLangpack and switched to CMPlugin --- plugins/DbEditorPP/src/main_window.cpp | 2 +- plugins/DbEditorPP/src/options.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'plugins/DbEditorPP/src') diff --git a/plugins/DbEditorPP/src/main_window.cpp b/plugins/DbEditorPP/src/main_window.cpp index 1dedfec9d5..1698814b4d 100644 --- a/plugins/DbEditorPP/src/main_window.cpp +++ b/plugins/DbEditorPP/src/main_window.cpp @@ -506,7 +506,7 @@ INT_PTR CALLBACK MainDlgProc(HWND hwnd, UINT msg, WPARAM wParam, LPARAM lParam) refreshTree(1); break; case MENU_OPEN_OPTIONS: - Options_Open(L"Database", _A2W(modFullname)); + g_plugin.openOptions(L"Database", _A2W(modFullname)); break; } return TRUE; // case WM_COMMAND diff --git a/plugins/DbEditorPP/src/options.cpp b/plugins/DbEditorPP/src/options.cpp index 7b2b6297c1..f7bc725573 100644 --- a/plugins/DbEditorPP/src/options.cpp +++ b/plugins/DbEditorPP/src/options.cpp @@ -63,6 +63,6 @@ INT OptInit(WPARAM wParam, LPARAM) odp.szTitle.a = modFullname; odp.pfnDlgProc = DlgProcOpts; odp.flags = ODPF_BOLDGROUPS; - Options_AddPage(wParam, &odp); + g_plugin.addOptions(wParam, &odp); return 0; } -- cgit v1.2.3