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/Popup/src/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugins/Popup/src') diff --git a/plugins/Popup/src/main.cpp b/plugins/Popup/src/main.cpp index b50b1a1025..f2078009ff 100644 --- a/plugins/Popup/src/main.cpp +++ b/plugins/Popup/src/main.cpp @@ -135,7 +135,7 @@ static int TTBLoaded(WPARAM, LPARAM) ttb.hIconHandleDn = GetIconHandle(IDI_POPUP); ttb.pszTooltipUp = LPGEN("Enable Popups"); ttb.pszTooltipDn = LPGEN("Disable Popups"); - hTTButton = TopToolbar_AddButton(&ttb); + hTTButton = g_plugin.addTTB(&ttb); return 0; } -- cgit v1.2.3