From 9300399ed59f4d82f5e62f5ef43b752da4dd0735 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Sun, 22 Apr 2018 14:34:57 +0300 Subject: EV_PROTO_ONMENU removed --- protocols/Tox/src/tox_menus.cpp | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'protocols/Tox/src/tox_menus.cpp') diff --git a/protocols/Tox/src/tox_menus.cpp b/protocols/Tox/src/tox_menus.cpp index 9dc0ee8b79..e876cbeb6f 100644 --- a/protocols/Tox/src/tox_menus.cpp +++ b/protocols/Tox/src/tox_menus.cpp @@ -44,10 +44,8 @@ int CToxProto::UpdateStatusMenu(WPARAM, LPARAM) return 0; } -int CToxProto::OnInitStatusMenu() +void CToxProto::OnBuildProtoMenu() { - //HookProtoEvent(ME_CLIST_PREBUILDSTATUSMENU, &CToxProto::UpdateStatusMenu); - CMenuItem mi; mi.flags = CMIF_UNICODE; mi.root = Menu_GetProtocolRoot(this); @@ -87,6 +85,4 @@ int CToxProto::OnInitStatusMenu() StatusMenuItems[SMI_PASSWORD_REMOVE] = Menu_AddProtoMenuItem(&mi, m_szModuleName); UpdateStatusMenu(NULL, NULL); - - return 0; } -- cgit v1.2.3