Update of /cvsroot/wxlua/wxLua/samples
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv18351/wxLua/samples
Modified Files:
editor.wx.lua
Log Message:
the wxLua app now runs
add back wxExecute and add wxProcess
add bin2c.lua to generate editor.h for wxlua app
Index: editor.wx.lua
===================================================================
RCS file: /cvsroot/wxlua/wxLua/samples/editor.wx.lua,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** editor.wx.lua 20 Jun 2005 06:55:23 -0000 1.2
--- editor.wx.lua 19 Nov 2005 07:08:39 -0000 1.3
***************
*** 1643,1647 ****
table.insert(fileList, ' "'..filePath..'"')
end
! wx.wxExecute('"'..programName..'" '..table.concat(fileList))
end)
frame:ConnectEvent(wxID_RUN,
--- 1643,1649 ----
table.insert(fileList, ' "'..filePath..'"')
end
! local cmd = '"'..programName..'" '..table.concat(fileList)
! displayOutput("Running program: "..cmd.."\n")
! wx.wxExecute(cmd, wx.wxEXEC_ASYNC)
end)
frame:ConnectEvent(wxID_RUN,
***************
*** 2077,2079 ****
end
! frame:SetIcon(wxLuaEditorIcon)
--- 2079,2081 ----
end
! -- frame:SetIcon(wxLuaEditorIcon) FIXME add this back
|