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/StatusManager/src/StartupStatus/ss_toolbars.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugins/StatusManager') diff --git a/plugins/StatusManager/src/StartupStatus/ss_toolbars.cpp b/plugins/StatusManager/src/StartupStatus/ss_toolbars.cpp index 262637468e..af1091a023 100644 --- a/plugins/StatusManager/src/StartupStatus/ss_toolbars.cpp +++ b/plugins/StatusManager/src/StartupStatus/ss_toolbars.cpp @@ -63,7 +63,7 @@ int CreateTopToolbarButtons(WPARAM, LPARAM) ttb.hIconHandleUp = iconList[1].hIcolib; ttb.wParamDown = ttb.wParamUp = i; ttb.name = ttb.pszTooltipUp = dbv.pszVal; - HANDLE ttbAddResult = TopToolbar_AddButton(&ttb); + HANDLE ttbAddResult = g_plugin.addTTB(&ttb); if (ttbAddResult) ttbButtons.insert(ttbAddResult); db_free(&dbv); -- cgit v1.2.3