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/UserInfoEx/src/dlg_anniversarylist.cpp | 2 +- plugins/UserInfoEx/src/svc_reminder.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'plugins/UserInfoEx') diff --git a/plugins/UserInfoEx/src/dlg_anniversarylist.cpp b/plugins/UserInfoEx/src/dlg_anniversarylist.cpp index d2a3ba0439..d784a00ee8 100644 --- a/plugins/UserInfoEx/src/dlg_anniversarylist.cpp +++ b/plugins/UserInfoEx/src/dlg_anniversarylist.cpp @@ -963,7 +963,7 @@ void DlgAnniversaryListOnTopToolBarLoaded() ttb.pszService = MS_USERINFO_REMINDER_LIST; ttb.hIconHandleUp = IcoLib_GetIconHandle(ICO_COMMON_ANNIVERSARY); ttb.name = ttb.pszTooltipUp = LPGEN("Anniversary list"); - TopToolbar_AddButton(&ttb); + g_plugin.addTTB(&ttb); } /** diff --git a/plugins/UserInfoEx/src/svc_reminder.cpp b/plugins/UserInfoEx/src/svc_reminder.cpp index 2da0ae3ff6..9b1b7a9f8b 100644 --- a/plugins/UserInfoEx/src/svc_reminder.cpp +++ b/plugins/UserInfoEx/src/svc_reminder.cpp @@ -683,7 +683,7 @@ void SvcReminderOnTopToolBarLoaded() ttb.pszService = MS_USERINFO_REMINDER_CHECK; ttb.name = ttb.pszTooltipUp = LPGEN("Check anniversaries"); ttb.hIconHandleUp = IcoLib_GetIconHandle(ICO_COMMON_BIRTHDAY); - TopToolbar_AddButton(&ttb); + g_plugin.addTTB(&ttb); } /*********************************************************************************************************** -- cgit v1.2.3