From 869094d2aabef8ab10a1178907cb31ae84f504f9 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Tue, 22 May 2018 16:28:18 +0300 Subject: IcoLib_AddIcon => CMPlugin::addIcon --- plugins/TopToolBar/src/toolbar.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugins/TopToolBar/src') diff --git a/plugins/TopToolBar/src/toolbar.cpp b/plugins/TopToolBar/src/toolbar.cpp index a3fbea4ad6..5fab8accab 100644 --- a/plugins/TopToolBar/src/toolbar.cpp +++ b/plugins/TopToolBar/src/toolbar.cpp @@ -163,7 +163,7 @@ static void Icon2button(TTBButton *but, HANDLE &hIcoLib, HICON &hIcon, bool bIsU mir_snprintf(buf, "%s%s", but->name, bIsUp ? "" : " (pressed)"); sid.description.a = buf; sid.hDefaultIcon = bIsUp ? but->hIconUp : but->hIconDn; - hIcoLib = IcoLib_AddIcon(&sid); + hIcoLib = g_plugin.addIcon(&sid); } hIcon = IcoLib_GetIconByHandle(hIcoLib); -- cgit v1.2.3