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/CrashDumper/src/crshdmp.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'plugins/CrashDumper/src') diff --git a/plugins/CrashDumper/src/crshdmp.cpp b/plugins/CrashDumper/src/crshdmp.cpp index 82113cd663..726eae0d5a 100644 --- a/plugins/CrashDumper/src/crshdmp.cpp +++ b/plugins/CrashDumper/src/crshdmp.cpp @@ -224,23 +224,23 @@ static int ToolbarModulesLoaded(WPARAM, LPARAM) ttb.name = ttb.pszTooltipUp = LPGEN("Version Information To Clipboard"); ttb.hIconHandleUp = GetIconHandle(IDI_VITOCLIP); ttb.dwFlags = TTBBF_VISIBLE; - TopToolbar_AddButton(&ttb); + g_plugin.addTTB(&ttb); ttb.pszService = MS_CRASHDUMPER_STORETOFILE; ttb.name = ttb.pszTooltipUp = LPGEN("Version Information To File"); ttb.hIconHandleUp = GetIconHandle(IDI_VITOFILE); ttb.dwFlags = 0; - TopToolbar_AddButton(&ttb); + g_plugin.addTTB(&ttb); ttb.pszService = MS_CRASHDUMPER_VIEWINFO; ttb.name = ttb.pszTooltipUp = LPGEN("Show Version Information"); ttb.hIconHandleUp = GetIconHandle(IDI_VISHOW); - TopToolbar_AddButton(&ttb); + g_plugin.addTTB(&ttb); ttb.pszService = MS_CRASHDUMPER_UPLOAD; ttb.name = ttb.pszTooltipUp = LPGEN("Upload Version Information"); ttb.hIconHandleUp = GetIconHandle(IDI_VIUPLOAD); - TopToolbar_AddButton(&ttb); + g_plugin.addTTB(&ttb); return 0; } -- cgit v1.2.3