From: John L. <jr...@us...> - 2007-07-20 01:39:09
|
Update of /cvsroot/wxlua/wxLua/apps/wxluaedit/src In directory sc8-pr-cvs9.sourceforge.net:/tmp/cvs-serv7131/wxLua/apps/wxluaedit/src Modified Files: wxluaedit.cpp Log Message: Use wxlua.wxLUA_VERSION_STRING for dialog Index: wxluaedit.cpp =================================================================== RCS file: /cvsroot/wxlua/wxLua/apps/wxluaedit/src/wxluaedit.cpp,v retrieving revision 1.37 retrieving revision 1.38 diff -C2 -d -r1.37 -r1.38 *** wxluaedit.cpp 16 Jul 2007 19:34:13 -0000 1.37 --- wxluaedit.cpp 20 Jul 2007 01:39:05 -0000 1.38 *************** *** 500,504 **** { // since the dialog is modal, it's ok that the interpreter is created on the stack ! wxLuaState wxlState(NULL, wxID_ANY); // Create a script to run --- 500,504 ---- { // since the dialog is modal, it's ok that the interpreter is created on the stack ! wxLuaState wxlState(this, wxID_ANY); // Create a script to run *************** *** 508,512 **** wxString script; ! script += wxT("local msg = \"Welcome to wxLuaEditor using \"..wx.wxLUA_VERSION_STRING..\"\\n\""); script += wxT("msg = msg..\"and compiled with \"..wx.wxVERSION_STRING..\"\\n\""); script += wxT("msg = msg..\"Written by John Labenski\\n\\n\""); --- 508,512 ---- wxString script; ! script += wxT("local msg = \"Welcome to wxLuaEditor using \"..wxlua.wxLUA_VERSION_STRING..\"\\n\""); script += wxT("msg = msg..\"and compiled with \"..wx.wxVERSION_STRING..\"\\n\""); script += wxT("msg = msg..\"Written by John Labenski\\n\\n\""); |