diff options
author | George Hazan <george.hazan@gmail.com> | 2014-09-17 12:29:30 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2014-09-17 12:29:30 +0000 |
commit | 5dc533256a87daab9e3b42b35614b411b189a985 (patch) | |
tree | 981ec24363a92b703eda6a72ad9969925a6ba235 /plugins/Alarms/src/options.cpp | |
parent | b797c26e41a864d1a195b55d5ab191e87ddca762 (diff) |
- MS_CLIST_REMOVECONTEXTFRAMEMENUITEM, MS_CLIST_REMOVESUBGROUPMENUITEM & MS_CLIST_REMOVEGROUPMENUITEM removed;
- minor code cleaning
git-svn-id: http://svn.miranda-ng.org/main/trunk@10496 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/Alarms/src/options.cpp')
-rw-r--r-- | plugins/Alarms/src/options.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/plugins/Alarms/src/options.cpp b/plugins/Alarms/src/options.cpp index cbe83b4e09..b7baf46e20 100644 --- a/plugins/Alarms/src/options.cpp +++ b/plugins/Alarms/src/options.cpp @@ -17,7 +17,7 @@ typedef struct AddEditParam_tag { BOOL self_add;
} AddEditParam;
-HANDLE hMainMenuItem = 0, hGroupMenuItem;
+HGENMENU hMainMenuItem = 0;
// store options dialog window handle statically so it can be refreshed by non-modal add alarm dialog
HWND hwndOptionsDialog = 0;
@@ -700,10 +700,10 @@ void AddMenuItem() mi.position = 500010000;
if (!ServiceExists(MS_CLIST_FRAMES_ADDFRAME))
mi.pszPopupName = "Alarms";
- if (ServiceExists(MS_CLIST_REMOVEGROUPMENUITEM)) {
- GroupMenuParam gmp = {0};
- hGroupMenuItem = Menu_AddGroupMenuItem(&gmp, &mi);
- }
+
+ GroupMenuParam gmp = {0};
+ Menu_AddGroupMenuItem(&gmp, &mi);
+
hMainMenuItem = Menu_AddMainMenuItem(&mi);
}
|