diff options
author | Kirill Volinsky <mataes2007@gmail.com> | 2012-05-22 06:36:30 +0000 |
---|---|---|
committer | Kirill Volinsky <mataes2007@gmail.com> | 2012-05-22 06:36:30 +0000 |
commit | 9ec2ba379f413bc3817a49f374c5faa1ee23c01a (patch) | |
tree | 0bbbc982236c8cb91470559e450ef0b4b8d7e44f /plugins/Svc_dbepp/settinglist.cpp | |
parent | 819bd5be79b840dd8ed9cb1ddfb2a71840234eea (diff) |
Svc_dbepp:
+ability to open options from menu
*fixed translating menus with per-plugin langpacks
git-svn-id: http://svn.miranda-ng.org/main/trunk@125 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/Svc_dbepp/settinglist.cpp')
-rw-r--r-- | plugins/Svc_dbepp/settinglist.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/Svc_dbepp/settinglist.cpp b/plugins/Svc_dbepp/settinglist.cpp index 9225fe04a8..ab2f5652e0 100644 --- a/plugins/Svc_dbepp/settinglist.cpp +++ b/plugins/Svc_dbepp/settinglist.cpp @@ -858,7 +858,7 @@ void SettingsListRightClick(HWND hwnd, WPARAM wParam,LPARAM lParam) // hwnd here GetCursorPos(&pt);
hMenu = LoadMenu(hInst, MAKEINTRESOURCE(IDR_CONTEXTMENU));
hSubMenu = GetSubMenu(hMenu, 6);
- CallService(MS_LANGPACK_TRANSLATEMENU, (WPARAM) hSubMenu, 0);
+ TranslateMenu(hSubMenu);
if (!UDB)
RemoveMenu(hSubMenu, MENU_ADD_UNICODE, MF_BYCOMMAND);
@@ -953,7 +953,7 @@ void SettingsListRightClick(HWND hwnd, WPARAM wParam,LPARAM lParam) // hwnd here GetCursorPos(&pt);
hMenu = LoadMenu(hInst, MAKEINTRESOURCE(IDR_CONTEXTMENU));
hSubMenu = GetSubMenu(hMenu, 0);
- CallService(MS_LANGPACK_TRANSLATEMENU, (WPARAM) hSubMenu, 0);
+ TranslateMenu(hSubMenu);
lvi.mask = LVIF_IMAGE|LVIF_TEXT;
lvi.iItem = hti.iItem;
|