diff options
author | George Hazan <ghazan@miranda.im> | 2018-05-22 20:13:26 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2018-05-22 20:13:26 +0300 |
commit | f545bc769a16d1ff7b302733f793cbcbd397cdca (patch) | |
tree | 0c2ad450df5273a08ad55699801e2b74af662565 /plugins/NotesAndReminders/src/main.cpp | |
parent | 09121bfc0da22a40142e70a276a47fb639390cc4 (diff) |
new helper for MS_TTB_ADDBUTTON
Diffstat (limited to 'plugins/NotesAndReminders/src/main.cpp')
-rw-r--r-- | plugins/NotesAndReminders/src/main.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/NotesAndReminders/src/main.cpp b/plugins/NotesAndReminders/src/main.cpp index 008ffc7728..4920585a30 100644 --- a/plugins/NotesAndReminders/src/main.cpp +++ b/plugins/NotesAndReminders/src/main.cpp @@ -146,12 +146,12 @@ int OnTopToolBarInit(WPARAM, LPARAM) ttb.hIconHandleUp = iconList[14].hIcolib;
ttb.pszService = MODULENAME"/MenuCommandAddNew";
ttb.name = ttb.pszTooltipUp = LPGEN("Add New Note");
- TopToolbar_AddButton(&ttb);
+ g_plugin.addTTB(&ttb);
ttb.hIconHandleUp = iconList[15].hIcolib;
ttb.pszService = MODULENAME"/MenuCommandNewReminder";
ttb.name = ttb.pszTooltipUp = LPGEN("Add New Reminder");
- TopToolbar_AddButton(&ttb);
+ g_plugin.addTTB(&ttb);
UnhookEvent(hkTopToolbarInit);
return 0;
|