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/Clist_nicer/src/CLCButton.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugins/Clist_nicer/src') diff --git a/plugins/Clist_nicer/src/CLCButton.cpp b/plugins/Clist_nicer/src/CLCButton.cpp index e22b9c53b0..e49c935939 100644 --- a/plugins/Clist_nicer/src/CLCButton.cpp +++ b/plugins/Clist_nicer/src/CLCButton.cpp @@ -61,7 +61,7 @@ static void InitDefaultButtons() else tbb.dwFlags |= TTBBF_ISSEPARATOR; tbb.dwFlags |= (BTNS[i].isVis ? TTBBF_VISIBLE : 0); - BTNS[i].hButton = TopToolbar_AddButton(&tbb); + BTNS[i].hButton = g_plugin.addTTB(&tbb); } g_index = -1; -- cgit v1.2.3