summaryrefslogtreecommitdiff
path: root/plugins/DbEditorPP/src/main.cpp
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/DbEditorPP/src/main.cpp
parent09121bfc0da22a40142e70a276a47fb639390cc4 (diff)
new helper for MS_TTB_ADDBUTTON
Diffstat (limited to 'plugins/DbEditorPP/src/main.cpp')
-rw-r--r--plugins/DbEditorPP/src/main.cpp2
1 files changed, 1 insertions, 1 deletions
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;
}