diff options
author | George Hazan <george.hazan@gmail.com> | 2014-09-16 14:02:41 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2014-09-16 14:02:41 +0000 |
commit | cf1c8283aca6d09ddfc42d18c8ecc38bbc0f65fb (patch) | |
tree | cf3ec04ee9f1000cdd5e8b3d88b14d684f12646a /plugins/TrafficCounter | |
parent | 8cbf63303a7f35241fa1ba2bd4ca8306e81d1837 (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.cpp | 2 | ||||
-rw-r--r-- | plugins/TrafficCounter/src/options.cpp | 2 |
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;
}
// Если включается, то создаём.
|