From: John L. <jr...@us...> - 2007-08-08 02:55:37
|
Update of /cvsroot/wxlua/wxLua/modules/wxlua/src In directory sc8-pr-cvs9.sourceforge.net:/tmp/cvs-serv5489/wxLua/modules/wxlua/src Modified Files: wxlstate.cpp Log Message: Better check for wxlua.XXX binding wxLuaState lS(false) to show that we're not creating it Index: wxlstate.cpp =================================================================== RCS file: /cvsroot/wxlua/wxLua/modules/wxlua/src/wxlstate.cpp,v retrieving revision 1.130 retrieving revision 1.131 diff -C2 -d -r1.130 -r1.131 *** wxlstate.cpp 7 Aug 2007 20:23:25 -0000 1.130 --- wxlstate.cpp 8 Aug 2007 02:55:33 -0000 1.131 *************** *** 1531,1535 **** { // we need to increment the ref count, but it's private in wxObjectRefData ! wxLuaState lS; lS.SetRefData(refData); Ref(lS); --- 1531,1535 ---- { // we need to increment the ref count, but it's private in wxObjectRefData ! wxLuaState lS(false); lS.SetRefData(refData); Ref(lS); |