summaryrefslogtreecommitdiff
path: root/plugins/SimpleStatusMsg
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/SimpleStatusMsg
parent09121bfc0da22a40142e70a276a47fb639390cc4 (diff)
new helper for MS_TTB_ADDBUTTON
Diffstat (limited to 'plugins/SimpleStatusMsg')
-rw-r--r--plugins/SimpleStatusMsg/src/main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/SimpleStatusMsg/src/main.cpp b/plugins/SimpleStatusMsg/src/main.cpp
index ea68d2db5b..e38795f6a5 100644
--- a/plugins/SimpleStatusMsg/src/main.cpp
+++ b/plugins/SimpleStatusMsg/src/main.cpp
@@ -1235,7 +1235,7 @@ static int AddTopToolbarButton(WPARAM, LPARAM)
tbb.pszService = MS_SIMPLESTATUSMSG_SHOWDIALOGINT;
tbb.dwFlags = TTBBF_VISIBLE | TTBBF_SHOWTOOLTIP;
tbb.name = tbb.pszTooltipUp = LPGEN("Change status message");
- hTTBButton = TopToolbar_AddButton(&tbb);
+ hTTBButton = g_plugin.addTTB(&tbb);
ReleaseIconEx("csmsg");
return 0;