summaryrefslogtreecommitdiff
path: root/plugins/TrafficCounter
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2014-09-16 14:02:41 +0000
committerGeorge Hazan <george.hazan@gmail.com>2014-09-16 14:02:41 +0000
commitcf1c8283aca6d09ddfc42d18c8ecc38bbc0f65fb (patch)
treecf3ec04ee9f1000cdd5e8b3d88b14d684f12646a /plugins/TrafficCounter
parent8cbf63303a7f35241fa1ba2bd4ca8306e81d1837 (diff)
MS_CLIST_REMOVEMAINMENUITEM also removed
git-svn-id: http://svn.miranda-ng.org/main/trunk@10480 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/TrafficCounter')
-rw-r--r--plugins/TrafficCounter/src/TrafficCounter.cpp2
-rw-r--r--plugins/TrafficCounter/src/options.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/plugins/TrafficCounter/src/TrafficCounter.cpp b/plugins/TrafficCounter/src/TrafficCounter.cpp
index 9db8c5dd71..342a5557a9 100644
--- a/plugins/TrafficCounter/src/TrafficCounter.cpp
+++ b/plugins/TrafficCounter/src/TrafficCounter.cpp
@@ -158,7 +158,7 @@ int TrafficCounterShutdown(WPARAM wParam, LPARAM lParam)
// Удаляем пункт главного меню.
if (hTrafficMainMenuItem)
{
- CallService(MS_CLIST_REMOVEMAINMENUITEM, (WPARAM)hTrafficMainMenuItem, 0);
+ CallService(MO_REMOVEMENUITEM, (WPARAM)hTrafficMainMenuItem, 0);
hTrafficMainMenuItem = NULL;
}
// Удаляем контекстное меню.
diff --git a/plugins/TrafficCounter/src/options.cpp b/plugins/TrafficCounter/src/options.cpp
index f545961c02..d01ac44276 100644
--- a/plugins/TrafficCounter/src/options.cpp
+++ b/plugins/TrafficCounter/src/options.cpp
@@ -324,7 +324,7 @@ static INT_PTR CALLBACK DlgProcTCOptions(HWND hwndDlg, UINT msg, WPARAM wParam,
// Если отключается показ пункта главного меню, то удаляем его.
if (!unOptions.ShowMainMenuItem && hTrafficMainMenuItem)
{
- CallService(MS_CLIST_REMOVEMAINMENUITEM, (WPARAM)hTrafficMainMenuItem, 0);
+ CallService(MO_REMOVEMENUITEM, (WPARAM)hTrafficMainMenuItem, 0);
hTrafficMainMenuItem = NULL;
}
// Если включается, то создаём.