From: John L. <jr...@us...> - 2007-08-14 13:42:19
|
Update of /cvsroot/wxlua/wxLua/modules/luamodule/src In directory sc8-pr-cvs9.sourceforge.net:/tmp/cvs-serv3043/wxLua/modules/luamodule/src Modified Files: luamodule.cpp Log Message: Fix ambiguous call to wxLuaState(...) in cansum.cpp A little cleanup for the wxluacan app Update luamodule.cpp to use new enums for wxLuaState(lua_State, ...) Nil the wxLuaState lookup in the registry table when the wxLuaState is closed Index: luamodule.cpp =================================================================== RCS file: /cvsroot/wxlua/wxLua/modules/luamodule/src/luamodule.cpp,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 *** luamodule.cpp 18 Jul 2007 02:41:33 -0000 1.6 --- luamodule.cpp 14 Aug 2007 13:42:15 -0000 1.7 *************** *** 125,129 **** WXLUA_IMPLEMENT_BIND_ALL ! s_wxlState.Create(L, WXLUASTATE_SETSTATE); s_wxlState.SetEventHandler((wxEvtHandler*)wxTheApp); } --- 125,129 ---- WXLUA_IMPLEMENT_BIND_ALL ! s_wxlState.Create(L, wxLUASTATE_USESTATE|wxLUASTATE_STATICSTATE); s_wxlState.SetEventHandler((wxEvtHandler*)wxTheApp); } |