diff options
author | George Hazan <george.hazan@gmail.com> | 2015-06-18 21:20:39 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2015-06-18 21:20:39 +0000 |
commit | ec0e34b4f88ebe03ff12f559e40dda52c51549b7 (patch) | |
tree | 42e8a56fe17d9736527fe79a6345e857842fbf40 /plugins/NotesAndReminders/src/notes.cpp | |
parent | ca702593c60aa89c06633777feb7cf79ad8e751f (diff) |
langpack services module destroyed from mir_app
the only survived service moved to mir_core
git-svn-id: http://svn.miranda-ng.org/main/trunk@14250 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/NotesAndReminders/src/notes.cpp')
-rw-r--r-- | plugins/NotesAndReminders/src/notes.cpp | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/plugins/NotesAndReminders/src/notes.cpp b/plugins/NotesAndReminders/src/notes.cpp index 5b9500ced6..e3cfb87c52 100644 --- a/plugins/NotesAndReminders/src/notes.cpp +++ b/plugins/NotesAndReminders/src/notes.cpp @@ -1031,10 +1031,9 @@ static BOOL DoContextMenu(HWND AhWnd,WPARAM wParam,LPARAM lParam) InsertMenu(hFg, i, MF_BYPOSITION|MF_OWNERDRAW, IDM_COLORPRESET_FG+i, TranslateTS(clrPresets[i].szName)); } - CallService(MS_LANGPACK_TRANSLATEMENU,(DWORD)FhMenu,0); + TranslateMenu(FhMenu); TrackPopupMenu(FhMenu,TPM_LEFTALIGN | TPM_RIGHTBUTTON,LOWORD(lParam),HIWORD(lParam),0,AhWnd,0); DestroyMenu(hMenuLoad); - return TRUE; } @@ -1864,10 +1863,9 @@ static BOOL DoListContextMenu(HWND AhWnd,WPARAM wParam,LPARAM lParam,STICKYNOTE CheckMenuItem(FhMenu, IDM_TOGGLEONTOP, MF_CHECKED|MF_BYCOMMAND); } - CallService(MS_LANGPACK_TRANSLATEMENU,(DWORD)FhMenu,0); + TranslateMenu(FhMenu); TrackPopupMenu(FhMenu,TPM_LEFTALIGN | TPM_RIGHTBUTTON,LOWORD(lParam),HIWORD(lParam),0,AhWnd,0); DestroyMenu(hMenuLoad); - return TRUE; } |