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/Alarms/src/alarms.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugins/Alarms/src') diff --git a/plugins/Alarms/src/alarms.cpp b/plugins/Alarms/src/alarms.cpp index b879feb9f1..205fffe53e 100644 --- a/plugins/Alarms/src/alarms.cpp +++ b/plugins/Alarms/src/alarms.cpp @@ -130,7 +130,7 @@ static int InitTopToolbarButton(WPARAM, LPARAM) ttb.pszService = MODULENAME "/NewAlarm"; ttb.dwFlags = TTBBF_VISIBLE; ttb.name = ttb.pszTooltipUp = LPGEN("Set alarm"); - hTopToolbarButton = TopToolbar_AddButton(&ttb); + hTopToolbarButton = g_plugin.addTTB(&ttb); return 0; } -- cgit v1.2.3