diff options
Diffstat (limited to 'plugins/Svc_dbepp/watchedvars.cpp')
-rw-r--r-- | plugins/Svc_dbepp/watchedvars.cpp | 4 |
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)));
|