From daade8ddee96eee7bfe74c75f2de1d2994258b74 Mon Sep 17 00:00:00 2001 From: madmaxoft Date: Mon, 16 Dec 2013 22:02:28 +0100 Subject: Fixed multiple inheritance in ToLua++. This fixes #422. --- src/Bindings/LuaWindow.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/Bindings/LuaWindow.h') diff --git a/src/Bindings/LuaWindow.h b/src/Bindings/LuaWindow.h index 58d26ef96..dab99a2e2 100644 --- a/src/Bindings/LuaWindow.h +++ b/src/Bindings/LuaWindow.h @@ -33,10 +33,10 @@ Additionally, to forbid Lua from deleting this object while it is used by player cPlayer:OpenWindow check if the window is of this class, and if so, make a global Lua reference for this object. This reference needs to be unreferenced in the Destroy() function. */ -class cLuaWindow : // tolua_export - public cItemGrid::cListener, - // tolua_begin - public cWindow +// tolua_begin +class cLuaWindow : + public cWindow, + public cItemGrid::cListener { typedef cWindow super; -- cgit v1.2.3