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/ExternalAPI | |
parent | 09121bfc0da22a40142e70a276a47fb639390cc4 (diff) |
new helper for MS_TTB_ADDBUTTON
Diffstat (limited to 'plugins/ExternalAPI')
-rw-r--r-- | plugins/ExternalAPI/m_toptoolbar.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/plugins/ExternalAPI/m_toptoolbar.h b/plugins/ExternalAPI/m_toptoolbar.h index cf0d90c609..64aea6c305 100644 --- a/plugins/ExternalAPI/m_toptoolbar.h +++ b/plugins/ExternalAPI/m_toptoolbar.h @@ -62,9 +62,7 @@ lparam = hLangpack returns: hTTBButton - handle of added button on success, -1 on failure.
*/
-__forceinline HANDLE TopToolbar_AddButton(TTBButton *pButton)
-{ return (HANDLE)CallService("TopToolBar/AddButton", (WPARAM)pButton, hLangpack);
-}
+#define MS_TTB_ADDBUTTON "TopToolBar/AddButton"
/*
toptoolbar/removebutton service
|