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/Alarms/src | |
parent | 09121bfc0da22a40142e70a276a47fb639390cc4 (diff) |
new helper for MS_TTB_ADDBUTTON
Diffstat (limited to 'plugins/Alarms/src')
-rw-r--r-- | plugins/Alarms/src/alarms.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/Alarms/src/alarms.cpp b/plugins/Alarms/src/alarms.cpp index b879feb9f1..205fffe53e 100644 --- a/plugins/Alarms/src/alarms.cpp +++ b/plugins/Alarms/src/alarms.cpp @@ -130,7 +130,7 @@ static int InitTopToolbarButton(WPARAM, LPARAM) ttb.pszService = MODULENAME "/NewAlarm";
ttb.dwFlags = TTBBF_VISIBLE;
ttb.name = ttb.pszTooltipUp = LPGEN("Set alarm");
- hTopToolbarButton = TopToolbar_AddButton(&ttb);
+ hTopToolbarButton = g_plugin.addTTB(&ttb);
return 0;
}
|