diff options
Diffstat (limited to 'plugins/ExternalAPI/m_toptoolbar.h')
-rw-r--r-- | plugins/ExternalAPI/m_toptoolbar.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/plugins/ExternalAPI/m_toptoolbar.h b/plugins/ExternalAPI/m_toptoolbar.h index cd98be6dee..cf0d90c609 100644 --- a/plugins/ExternalAPI/m_toptoolbar.h +++ b/plugins/ExternalAPI/m_toptoolbar.h @@ -1,6 +1,10 @@ #ifndef M_TOPTOOLBAR_H
#define M_TOPTOOLBAR_H
+#ifndef M_CORE_H__
+#include <m_core.h>
+#endif
+
#define TTB_OPTDIR "TopToolBar"
//button flags
@@ -58,8 +62,6 @@ lparam = hLangpack returns: hTTBButton - handle of added button on success, -1 on failure.
*/
-extern int hLangpack;
-
__forceinline HANDLE TopToolbar_AddButton(TTBButton *pButton)
{ return (HANDLE)CallService("TopToolBar/AddButton", (WPARAM)pButton, hLangpack);
}
|