summaryrefslogtreecommitdiff
path: root/plugins/StatusManager
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/StatusManager
parent09121bfc0da22a40142e70a276a47fb639390cc4 (diff)
new helper for MS_TTB_ADDBUTTON
Diffstat (limited to 'plugins/StatusManager')
-rw-r--r--plugins/StatusManager/src/StartupStatus/ss_toolbars.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/StatusManager/src/StartupStatus/ss_toolbars.cpp b/plugins/StatusManager/src/StartupStatus/ss_toolbars.cpp
index 262637468e..af1091a023 100644
--- a/plugins/StatusManager/src/StartupStatus/ss_toolbars.cpp
+++ b/plugins/StatusManager/src/StartupStatus/ss_toolbars.cpp
@@ -63,7 +63,7 @@ int CreateTopToolbarButtons(WPARAM, LPARAM)
ttb.hIconHandleUp = iconList[1].hIcolib;
ttb.wParamDown = ttb.wParamUp = i;
ttb.name = ttb.pszTooltipUp = dbv.pszVal;
- HANDLE ttbAddResult = TopToolbar_AddButton(&ttb);
+ HANDLE ttbAddResult = g_plugin.addTTB(&ttb);
if (ttbAddResult)
ttbButtons.insert(ttbAddResult);
db_free(&dbv);