From 4810d4b1b7a47701b8e6c45490fb2643ea425123 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Fri, 5 Apr 2013 23:13:56 +0000 Subject: rest of menu cleaning git-svn-id: http://svn.miranda-ng.org/main/trunk@4325 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/TabSRMM/src/typingnotify.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'plugins/TabSRMM') diff --git a/plugins/TabSRMM/src/typingnotify.cpp b/plugins/TabSRMM/src/typingnotify.cpp index 563543fe95..15a52ef814 100644 --- a/plugins/TabSRMM/src/typingnotify.cpp +++ b/plugins/TabSRMM/src/typingnotify.cpp @@ -2,7 +2,8 @@ HANDLE hTypingNotify; -static HANDLE hDisableMenu = NULL; +static HGENMENU hDisableMenu = NULL; + static HANDLE hPopUpsList = NULL; static BYTE OnePopUp; @@ -56,7 +57,7 @@ static INT_PTR EnableDisableMenuCommand(WPARAM wParam,LPARAM lParam) mi.hIcon = LoadIcon(g_hInst, MAKEINTRESOURCE(IDI_DISABLED)); } - CallService(MS_CLIST_MODIFYMENUITEM, (WPARAM)hDisableMenu, (LPARAM)&mi); + Menu_ModifyItem(hDisableMenu, &mi); } return 0; -- cgit v1.2.3