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/AutoShutdown/src/settingsdlg.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugins/AutoShutdown') diff --git a/plugins/AutoShutdown/src/settingsdlg.cpp b/plugins/AutoShutdown/src/settingsdlg.cpp index c9faec75f4..f209b13bad 100644 --- a/plugins/AutoShutdown/src/settingsdlg.cpp +++ b/plugins/AutoShutdown/src/settingsdlg.cpp @@ -416,7 +416,7 @@ int ToolbarLoaded(WPARAM, LPARAM) ttb.name = LPGEN("Start/Stop automatic shutdown"); ttb.pszTooltipUp = LPGEN("Start automatic shutdown"); ttb.pszTooltipDn = LPGEN("Stop automatic shutdown"); - hToolbarButton = TopToolbar_AddButton(&ttb); + hToolbarButton = g_plugin.addTTB(&ttb); return 0; } -- cgit v1.2.3