From: John L. <jr...@us...> - 2008-01-20 19:23:06
|
Update of /cvsroot/wxlua/wxLua/modules/wxlua/src In directory sc8-pr-cvs9.sourceforge.net:/tmp/cvs-serv32640/wxLua/modules/wxlua/src Modified Files: wxlstate.cpp Log Message: - Added static bool wxLuaState::sm_wxAppMainLoop_will_run so that Lua code that calls "wx.wxGetApp:MainLoop()" will not do anything. C++ coders should call it if they create a wxLuaState and run Lua code from their wxApp:OnInit() when wxApp:IsMainLoopRunning() returns false. Added luamodule_mono to wxLua.dsw Index: wxlstate.cpp =================================================================== RCS file: /cvsroot/wxlua/wxLua/modules/wxlua/src/wxlstate.cpp,v retrieving revision 1.163 retrieving revision 1.164 diff -C2 -d -r1.163 -r1.164 *** wxlstate.cpp 18 Jan 2008 03:43:00 -0000 1.163 --- wxlstate.cpp 20 Jan 2008 19:23:02 -0000 1.164 *************** *** 2218,2221 **** --- 2218,2223 ---- wxHashMapLuaState wxLuaState::s_wxHashMapLuaState; + bool wxLuaState::sm_wxAppMainLoop_will_run = false; + #define M_WXLSTATEDATA ((wxLuaStateRefData*)m_refData) |