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/AutoShutdown/src | |
parent | 09121bfc0da22a40142e70a276a47fb639390cc4 (diff) |
new helper for MS_TTB_ADDBUTTON
Diffstat (limited to 'plugins/AutoShutdown/src')
-rw-r--r-- | plugins/AutoShutdown/src/settingsdlg.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/AutoShutdown/src/settingsdlg.cpp b/plugins/AutoShutdown/src/settingsdlg.cpp index c9faec75f4..f209b13bad 100644 --- a/plugins/AutoShutdown/src/settingsdlg.cpp +++ b/plugins/AutoShutdown/src/settingsdlg.cpp @@ -416,7 +416,7 @@ int ToolbarLoaded(WPARAM, LPARAM) ttb.name = LPGEN("Start/Stop automatic shutdown");
ttb.pszTooltipUp = LPGEN("Start automatic shutdown");
ttb.pszTooltipDn = LPGEN("Stop automatic shutdown");
- hToolbarButton = TopToolbar_AddButton(&ttb);
+ hToolbarButton = g_plugin.addTTB(&ttb);
return 0;
}
|