summaryrefslogtreecommitdiff
path: root/protocols/VKontakte/src/vk_proto.cpp
diff options
context:
space:
mode:
authorSergey Bolhovskoy <elzorfox@ya.ru>2014-09-16 12:34:47 +0000
committerSergey Bolhovskoy <elzorfox@ya.ru>2014-09-16 12:34:47 +0000
commit51bdecd11cd1ff8d85af73424619737eee37e908 (patch)
tree1f5c549997e51963576e3318288d432c2d126286 /protocols/VKontakte/src/vk_proto.cpp
parent7b8c60928e4b0cb6905cff261084999b1163c7b7 (diff)
VKontakte: UnInitMenus for proto menu
git-svn-id: http://svn.miranda-ng.org/main/trunk@10477 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/VKontakte/src/vk_proto.cpp')
-rw-r--r--protocols/VKontakte/src/vk_proto.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/protocols/VKontakte/src/vk_proto.cpp b/protocols/VKontakte/src/vk_proto.cpp
index fb2d928e52..f5cd32a99d 100644
--- a/protocols/VKontakte/src/vk_proto.cpp
+++ b/protocols/VKontakte/src/vk_proto.cpp
@@ -153,7 +153,8 @@ int CVkProto::OnPreBuildContactMenu(WPARAM hContact, LPARAM)
void CVkProto::UnInitMenus()
{
- // ??? ProtoMenu
+ for (int i = 0; i < PMI_COUNT; i++)
+ CallService(MO_REMOVEMENUITEM, (WPARAM)g_hProtoMenuItems[i], 0);
for (int i = 0; i < CMI_COUNT; i++)
CallService(MS_CLIST_REMOVECONTACTMENUITEM, (WPARAM)g_hContactMenuItems[i], 0);