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/DbEditorPP/src/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugins/DbEditorPP/src') diff --git a/plugins/DbEditorPP/src/main.cpp b/plugins/DbEditorPP/src/main.cpp index 8a154fd2b7..d06526d0c3 100644 --- a/plugins/DbEditorPP/src/main.cpp +++ b/plugins/DbEditorPP/src/main.cpp @@ -98,7 +98,7 @@ static int OnTTBLoaded(WPARAM, LPARAM) ttb.name = LPGEN("Database Editor++"); ttb.hIconHandleUp = GetIcoLibHandle(ICO_DBE_BUTT); ttb.pszTooltipUp = LPGEN("Open Database Editor"); - hTTBButt = TopToolbar_AddButton(&ttb); + hTTBButt = g_plugin.addTTB(&ttb); return 0; } -- cgit v1.2.3