Update of /cvsroot/wxlua/wxLua/apps/wxluaedit/src
In directory 23jxhf1.ch3.sourceforge.com:/tmp/cvs-serv4255/wxLua/apps/wxluaedit/src
Modified Files:
wxluaedit.cpp
Log Message:
Removed %encapsulate and %noclassinfo tags for %classes in the bindings.
No longer encapsulating non wxObjects in a wxObject class for deletion.
We now provide delete functions for each class in the wxLuaBindClass
structs to be called on the void* we get from Lua.
Index: wxluaedit.cpp
===================================================================
RCS file: /cvsroot/wxlua/wxLua/apps/wxluaedit/src/wxluaedit.cpp,v
retrieving revision 1.41
retrieving revision 1.42
diff -C2 -d -r1.41 -r1.42
*** wxluaedit.cpp 6 Jan 2009 21:17:18 -0000 1.41
--- wxluaedit.cpp 1 Oct 2009 04:20:59 -0000 1.42
***************
*** 379,383 ****
{
if (m_luaConsoleWrapper.Ok())
! m_luaConsoleWrapper.GetConsole()->DisplayText(msg);
else
{
--- 379,383 ----
{
if (m_luaConsoleWrapper.Ok())
! m_luaConsoleWrapper.GetConsole()->AppendText(msg);
else
{
***************
*** 396,401 ****
else if (m_luaConsoleWrapper.Ok())
{
! m_luaConsoleWrapper.GetConsole()->DisplayText(msg);
! m_luaConsoleWrapper.GetConsole()->SetExitOnError(is_error);
if (wxlState.Ok())
m_luaConsoleWrapper.GetConsole()->DisplayStack(wxlState);
--- 396,401 ----
else if (m_luaConsoleWrapper.Ok())
{
! m_luaConsoleWrapper.GetConsole()->AppendText(msg);
! m_luaConsoleWrapper.GetConsole()->SetExitWhenClosed(is_error);
if (wxlState.Ok())
m_luaConsoleWrapper.GetConsole()->DisplayStack(wxlState);
|