From 1cff03ea69bce85c652ac19d5cb059f12695509c Mon Sep 17 00:00:00 2001 From: Tobias Weimer Date: Thu, 21 Jun 2012 18:06:18 +0000 Subject: custom translation for all menus git-svn-id: http://svn.miranda-ng.org/main/trunk@515 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/Alarms/frame.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugins/Alarms/frame.cpp') diff --git a/plugins/Alarms/frame.cpp b/plugins/Alarms/frame.cpp index cc36c3bc86..d51e021d4d 100644 --- a/plugins/Alarms/frame.cpp +++ b/plugins/Alarms/frame.cpp @@ -369,7 +369,7 @@ LRESULT CALLBACK FrameWindowProc(HWND hwnd, UINT msg, WPARAM wParam, LPARAM lPar DWORD item = SendMessage(hwnd_list, LB_ITEMFROMPOINT, 0, MAKELPARAM(pt.x, pt.y)); HMENU menu = LoadMenu(hInst, MAKEINTRESOURCE(IDR_MENU1)), submenu = GetSubMenu(menu, 0); - CallService(MS_LANGPACK_TRANSLATEMENU,(WPARAM)submenu,0); + TranslateMenu(submenu); if (HIWORD(item) == 0) { int sel = LOWORD(item); -- cgit v1.2.3