summaryrefslogtreecommitdiff
path: root/plugins/AddContactPlus/src
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2018-05-22 20:13:26 +0300
committerGeorge Hazan <ghazan@miranda.im>2018-05-22 20:13:26 +0300
commitf545bc769a16d1ff7b302733f793cbcbd397cdca (patch)
tree0c2ad450df5273a08ad55699801e2b74af662565 /plugins/AddContactPlus/src
parent09121bfc0da22a40142e70a276a47fb639390cc4 (diff)
new helper for MS_TTB_ADDBUTTON
Diffstat (limited to 'plugins/AddContactPlus/src')
-rw-r--r--plugins/AddContactPlus/src/main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/AddContactPlus/src/main.cpp b/plugins/AddContactPlus/src/main.cpp
index 511b7acdd3..977ef6d80a 100644
--- a/plugins/AddContactPlus/src/main.cpp
+++ b/plugins/AddContactPlus/src/main.cpp
@@ -116,7 +116,7 @@ static int CreateButton(WPARAM, LPARAM)
tbb.pszService = MS_ADDCONTACTPLUS_SHOW;
tbb.name = tbb.pszTooltipUp = LPGEN("Add contact");
tbb.hIconHandleUp = icon[0].hIcolib;
- hToolBarItem = TopToolbar_AddButton(&tbb);
+ hToolBarItem = g_plugin.addTTB(&tbb);
return 0;
}