summaryrefslogtreecommitdiff
path: root/plugins/SimpleStatusMsg/main.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2012-06-14 15:51:34 +0000
committerGeorge Hazan <george.hazan@gmail.com>2012-06-14 15:51:34 +0000
commite58823d961a630eb62e60d2ccb443761ba5f1704 (patch)
tree62d071be480d57af2a53f154a1468abe0b9449ff /plugins/SimpleStatusMsg/main.cpp
parent721aea0764451e985d575236205808bbef298244 (diff)
- all MS_CLIST_ADD*ITEM services replaced with Menu_Add*Item stubs.
- massive cleanup of the menu-related code git-svn-id: http://svn.miranda-ng.org/main/trunk@410 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/SimpleStatusMsg/main.cpp')
-rw-r--r--plugins/SimpleStatusMsg/main.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/SimpleStatusMsg/main.cpp b/plugins/SimpleStatusMsg/main.cpp
index def96c25c3..4cdaee3023 100644
--- a/plugins/SimpleStatusMsg/main.cpp
+++ b/plugins/SimpleStatusMsg/main.cpp
@@ -1711,7 +1711,7 @@ static int ChangeStatusMsgPrebuild(WPARAM wParam, LPARAM lParam)
mi.pszService = MS_SIMPLESTATUSMSG_SHOWDIALOGINT;
mi.ptszName = LPGENT("Status Message...");
mi.position = 2000200000;
- CallService(MS_CLIST_ADDSTATUSMENUITEM, 0, (LPARAM)&mi);
+ Menu_AddStatusMenuItem(&mi);
mi.popupPosition = 500084000;
mi.position = 2000040000;
@@ -1746,7 +1746,7 @@ static int ChangeStatusMsgPrebuild(WPARAM wParam, LPARAM lParam)
mi.ptszPopupName = szBuffer;
}
else mi.ptszPopupName = pa[i]->tszAccountName;
- hProtoStatusMenuItem[i] = (HANDLE)CallService(MS_CLIST_ADDSTATUSMENUITEM, 0, (LPARAM)&mi);
+ hProtoStatusMenuItem[i] = Menu_AddStatusMenuItem(&mi);
}
return 0;