From: John L. <jla...@gm...> - 2012-05-03 04:22:21
|
On Wed, May 2, 2012 at 12:53 AM, John Labenski <jla...@gm...> wrote: >> Change in wxlua_printFunction of file wxlstate.cpp >> >> The console did not display messages because >> wxlState.GetEventHandler() == NULL >> and !wxApp::IsMainLoopRunning() is also true >> >> commenting these tests makes the console display but is this right? > >> I am surprise that this works since the handler is used to invoke >> wxLuaStandaloneApp::OnLua >> so I am wondering if some changes have been done in wxWidgets event handler I reworked this a little. wxLua can now print to the DOS console or create a new DOS console as needed for stdout. I renamed some of the switches for the wxLua program since I felt that they were poorly named before. I hope this works better now. Regards, John |