summaryrefslogtreecommitdiff
path: root/plugins/Alarms/src
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/Alarms/src')
-rw-r--r--plugins/Alarms/src/frame.cpp4
1 files changed, 2 insertions, 2 deletions
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);
}
/////////////////////////