John Labenski <[EMAIL PROTECTED]> writes: > > if (m_wxlState.LuaPCall(1, 1) != 0) > m_wxlState.wxlua_Error("Error in function... blah blah, get error > string from stack..."); >
This code goes into no mans land. The original code reports the error on the console if the console is active and in a message box if it is not active. I think it is the right solution. Andre ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ wxlua-users mailing list wxlua-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wxlua-users