diff options
author | Sergey Bolhovskoy <elzorfox@ya.ru> | 2014-09-16 12:34:47 +0000 |
---|---|---|
committer | Sergey Bolhovskoy <elzorfox@ya.ru> | 2014-09-16 12:34:47 +0000 |
commit | 51bdecd11cd1ff8d85af73424619737eee37e908 (patch) | |
tree | 1f5c549997e51963576e3318288d432c2d126286 /protocols/VKontakte | |
parent | 7b8c60928e4b0cb6905cff261084999b1163c7b7 (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')
-rw-r--r-- | protocols/VKontakte/src/vk_proto.cpp | 3 |
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);
|