From: John L. <jr...@us...> - 2008-01-22 04:45:42
|
Update of /cvsroot/wxlua/wxLua/samples/image In directory sc8-pr-cvs9.sourceforge.net:/tmp/cvs-serv9444/wxLua/samples/image Modified Files: image.wx.lua Log Message: Add require("wx") and wx.wxGetApp():MainLoop() to the samples so they work with the wxLua module. Index: image.wx.lua =================================================================== RCS file: /cvsroot/wxlua/wxLua/samples/image/image.wx.lua,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** image.wx.lua 22 Jan 2008 04:03:33 -0000 1.2 --- image.wx.lua 22 Jan 2008 04:45:39 -0000 1.3 *************** *** 12,26 **** --]] ! ! --[[ ! win32: ! lua5.1.exe -e "package.cpath = './?.dll'" ./image.wx.lua ! ! linux: ! export LD_LIBRARY_PATH=.:$LD_LIBRARY_PATH ! lua5.1 -e "package.cpath = './?.so'" ./image.wx.lua ! ! --wx = require("ds287u") ! --]] --- 12,18 ---- --]] ! -- Load the wxLua module, does nothing if running from wxLua, wxLuaFreeze, or wxLuaEdit ! package.cpath = package.cpath..";./?.dll;./?.so;../lib/?.so;../lib/vc_dll/?.dll;../lib/bcc_dll/?.dll;../lib/mingw_dll/?.dll;" ! wx = require("wx") |