From: John L. <jr...@us...> - 2007-02-22 05:40:58
|
Update of /cvsroot/wxlua/wxLua/samples In directory sc8-pr-cvs9.sourceforge.net:/tmp/cvs-serv28638/wxLua/samples Modified Files: editor.wx.lua Log Message: use wxLuaState::GetwxStringType instead of lua2wx use wxLuaState::lua_PushString instead of wx2lua fix name == nil when adding notebook page to the wxLua editor Index: editor.wx.lua =================================================================== RCS file: /cvsroot/wxlua/wxLua/samples/editor.wx.lua,v retrieving revision 1.43 retrieving revision 1.44 diff -C2 -d -r1.43 -r1.44 *** editor.wx.lua 8 Jan 2007 04:41:33 -0000 1.43 --- editor.wx.lua 22 Feb 2007 05:40:54 -0000 1.44 *************** *** 863,867 **** end if not editor then ! editor = CreateEditor(wx.wxFileName(filePath):GetFullName()) end --- 863,867 ---- end if not editor then ! editor = CreateEditor(wx.wxFileName(filePath):GetFullName() or "untitled.lua") end |