summaryrefslogtreecommitdiff
path: root/plugins/Svc_dbepp/watchedvars.cpp
diff options
context:
space:
mode:
authorKirill Volinsky <mataes2007@gmail.com>2012-05-22 06:36:30 +0000
committerKirill Volinsky <mataes2007@gmail.com>2012-05-22 06:36:30 +0000
commit9ec2ba379f413bc3817a49f374c5faa1ee23c01a (patch)
tree0bbbc982236c8cb91470559e450ef0b4b8d7e44f /plugins/Svc_dbepp/watchedvars.cpp
parent819bd5be79b840dd8ed9cb1ddfb2a71840234eea (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/watchedvars.cpp')
-rw-r--r--plugins/Svc_dbepp/watchedvars.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/Svc_dbepp/watchedvars.cpp b/plugins/Svc_dbepp/watchedvars.cpp
index 08813de6ba..083a23b4b2 100644
--- a/plugins/Svc_dbepp/watchedvars.cpp
+++ b/plugins/Svc_dbepp/watchedvars.cpp
@@ -212,8 +212,8 @@ INT_PTR CALLBACK WatchDlgProc(HWND hwnd, UINT msg, WPARAM wParam, LPARAM lParam)
mmi.fState = MFS_CHECKED;
SetMenuItemInfo(GetMenu(hwnd), MENU_LOADAUTOMATCIALLY, FALSE, &mmi);
}
-*/ CallService(MS_LANGPACK_TRANSLATEMENU,(WPARAM)GetMenu(hwnd),0);
- CallService(MS_LANGPACK_TRANSLATEMENU,(WPARAM)GetSubMenu(GetMenu(hwnd),0),0);
+*/ TranslateMenu(GetMenu(hwnd));
+ TranslateMenu(GetSubMenu(GetMenu(hwnd),0));
TranslateDialogDefault(hwnd);
// do the icon
SendMessage(hwnd,WM_SETICON,ICON_BIG,(LPARAM)LoadIcon(hInst,MAKEINTRESOURCE(ICO_REGEDIT)));