From 8c406aebce15a05f136ac8e38397306a7d8d3976 Mon Sep 17 00:00:00 2001
From: Alexander Lantsev <aunsane@gmail.com>
Date: Sun, 26 Jul 2015 13:52:16 +0000
Subject: MirLua will remove toolbar buttons on script reloading

git-svn-id: http://svn.miranda-ng.org/main/trunk@14729 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
---
 plugins/MirLua/src/stdafx.h | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

(limited to 'plugins/MirLua/src/stdafx.h')

diff --git a/plugins/MirLua/src/stdafx.h b/plugins/MirLua/src/stdafx.h
index 232d1eeef3..4e3f764cb9 100644
--- a/plugins/MirLua/src/stdafx.h
+++ b/plugins/MirLua/src/stdafx.h
@@ -91,8 +91,7 @@ LUAMOD_API int (luaopen_m_popup)(lua_State *L);
 #define MLUA_PROTOCOLS	"m_protocols"
 LUAMOD_API int (luaopen_m_protocols)(lua_State *L);
 
-#define MLUA_TOPTOOLBAR	"m_toptoolbar"
-LUAMOD_API int (luaopen_m_toptoolbar)(lua_State *L);
+#include "m_toptoolbar.h"
 
 #define MLUA_VARIABLES	"m_variables"
 LUAMOD_API int (luaopen_m_variables)(lua_State *L);
-- 
cgit v1.2.3