Update of /cvsroot/wxlua/wxLua/bindings/wxlua
In directory vz-cvs-4.sog:/tmp/cvs-serv31919/bindings/wxlua
Modified Files:
override.hpp
Log Message:
Fix wxLuaObject:SetObject() so it gets the right item on the stack.
Fully test wxLuaObjects in coroutines
Index: override.hpp
===================================================================
RCS file: /cvsroot/wxlua/wxLua/bindings/wxlua/override.hpp,v
retrieving revision 1.26
retrieving revision 1.27
diff -C2 -d -r1.26 -r1.27
*** override.hpp 3 Dec 2010 04:39:43 -0000 1.26
--- override.hpp 27 Apr 2011 03:39:22 -0000 1.27
***************
*** 919,923 ****
wxLuaObject *self = (wxLuaObject *)wxluaT_getuserdatatype(L, 1, wxluatype_wxLuaObject);
// call SetObject
! self->SetObject(L, 1);
// return the number of parameters
return 0;
--- 919,923 ----
wxLuaObject *self = (wxLuaObject *)wxluaT_getuserdatatype(L, 1, wxluatype_wxLuaObject);
// call SetObject
! self->SetObject(L, 2);
// return the number of parameters
return 0;
|