From f545bc769a16d1ff7b302733f793cbcbd397cdca Mon Sep 17 00:00:00 2001 From: George Hazan Date: Tue, 22 May 2018 20:13:26 +0300 Subject: new helper for MS_TTB_ADDBUTTON --- plugins/FavContacts/src/services.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugins/FavContacts/src/services.cpp') diff --git a/plugins/FavContacts/src/services.cpp b/plugins/FavContacts/src/services.cpp index 1d989d81f4..a6959164c1 100644 --- a/plugins/FavContacts/src/services.cpp +++ b/plugins/FavContacts/src/services.cpp @@ -117,7 +117,7 @@ int ProcessTBLoaded(WPARAM, LPARAM) ttb.pszService = MS_FAVCONTACTS_SHOWMENU; ttb.dwFlags = TTBBF_SHOWTOOLTIP | TTBBF_VISIBLE; ttb.hIconHandleUp = iconList[0].hIcolib; - TopToolbar_AddButton(&ttb); + g_plugin.addTTB(&ttb); return 0; } -- cgit v1.2.3