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/Alarms/src/frame.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'plugins/Alarms/src') diff --git a/plugins/Alarms/src/frame.cpp b/plugins/Alarms/src/frame.cpp index 9f168a6bad..d73c8e7001 100644 --- a/plugins/Alarms/src/frame.cpp +++ b/plugins/Alarms/src/frame.cpp @@ -18,7 +18,7 @@ HBRUSH bk_brush = 0; AlarmList alarm_list; CRITICAL_SECTION list_cs; -HANDLE hMenuShowReminders = 0; +HGENMENU hMenuShowReminders = 0; #define ID_FRAME_UPDATE_TIMER 1011 #define ID_FRAME_SHOWHIDE_TIMER 1012 @@ -466,7 +466,7 @@ void FixMainMenu() mi.pszName = Translate("Show Reminders"); } } - CallService(MS_CLIST_MODIFYMENUITEM, (WPARAM)hMenuShowReminders, (LPARAM)&mi); + Menu_ModifyItem(hMenuShowReminders, &mi); } ///////////////////////// -- cgit v1.2.3