From: John L. <jr...@us...> - 2008-01-23 06:44:08
|
Update of /cvsroot/wxlua/wxLua/apps/wxluafreeze/src In directory sc8-pr-cvs9.sourceforge.net:/tmp/cvs-serv692/wxLua/apps/wxluafreeze/src Modified Files: wxluafreeze.cpp Log Message: Use positive values for WXLUA_TXXX types not negative. Initialize the wxLua types when the bindings are initialized not when installed into Lua so we can install the bindings in any order or number for multiple wxLuaStates. Index: wxluafreeze.cpp =================================================================== RCS file: /cvsroot/wxlua/wxLua/apps/wxluafreeze/src/wxluafreeze.cpp,v retrieving revision 1.16 retrieving revision 1.17 diff -C2 -d -r1.16 -r1.17 *** wxluafreeze.cpp 20 Jan 2008 19:23:00 -0000 1.16 --- wxluafreeze.cpp 23 Jan 2008 06:43:34 -0000 1.17 *************** *** 105,124 **** // Initialize the wxLua bindings we want to use. // See notes for WXLUA_DECLARE_BIND_ALL above. ! //WXLUA_IMPLEMENT_BIND_ALL ! ! WXLUA_IMPLEMENT_BIND_WXLUA ! //WXLUA_IMPLEMENT_BIND_WXLUASOCKET ! WXLUA_IMPLEMENT_BIND_WXBASE ! WXLUA_IMPLEMENT_BIND_WXCORE ! WXLUA_IMPLEMENT_BIND_WXADV ! WXLUA_IMPLEMENT_BIND_WXNET ! WXLUA_IMPLEMENT_BIND_WXXML ! WXLUA_IMPLEMENT_BIND_WXXRC ! WXLUA_IMPLEMENT_BIND_WXHTML ! WXLUA_IMPLEMENT_BIND_WXAUI ! WXLUA_IMPLEMENT_BIND_WXMEDIA ! WXLUA_IMPLEMENT_BIND_WXGL ! //WXLUA_IMPLEMENT_BIND_WXSTC ! m_fileName = argv[0]; // the filename of 'this' program --- 105,109 ---- // Initialize the wxLua bindings we want to use. // See notes for WXLUA_DECLARE_BIND_ALL above. ! WXLUA_IMPLEMENT_BIND_ALL m_fileName = argv[0]; // the filename of 'this' program |