diff options
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
|