From cf9de21af3073e29cb7b149fbd8427241de70729 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Fri, 28 Oct 2016 16:18:50 +0300 Subject: - old useless helpers removed from the Options module; - mir_app functions introduced instead of them; - OPENOPTIONSDIALOG structure removed from m_options.h --- plugins/DbEditorPP/src/main_window.cpp | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'plugins/DbEditorPP/src/main_window.cpp') diff --git a/plugins/DbEditorPP/src/main_window.cpp b/plugins/DbEditorPP/src/main_window.cpp index da31dd2eb1..6868493943 100644 --- a/plugins/DbEditorPP/src/main_window.cpp +++ b/plugins/DbEditorPP/src/main_window.cpp @@ -506,12 +506,7 @@ INT_PTR CALLBACK MainDlgProc(HWND hwnd, UINT msg, WPARAM wParam, LPARAM lParam) refreshTree(1); break; case MENU_OPEN_OPTIONS: - OPENOPTIONSDIALOG odp = { 0 }; - odp.cbSize = sizeof(odp); - odp.pszGroup = "Database"; - odp.pszPage = modFullname; - odp.pszTab = 0; - Options_Open(&odp); + Options_Open(L"Database", _A2W(modFullname)); break; } return TRUE; // case WM_COMMAND -- cgit v1.2.3