On 4/28/07, Kees Jongenburger <[EMAIL PROTECTED]> wrote: > On 4/28/07, Ryan Pusztai <[EMAIL PROTECTED]> wrote: > > > package.cpath = > > > > > ";;../lib/?.so;../lib/vc_dll/?.dll;../lib/bcc_dll/?.dll;../lib/mingw_dll/?.dll;" > > > require("wx") > > > > > > and > > > wx.wxGetApp():MainLoop() > > > > This is incredible. I didn't know you could do that. That would be a great > > example to have as well. > At least this sample helped someone >
See wxLua/samples/luamodule.wx.lua and also wxLua/util/wrapmodule/wrapmodule.wx.lua for using a vanilla lua and wx.dll as a lua module using "require". Yes... this should be better documented in a section called "How to run the samples." Regards, John Labenski ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ wxlua-users mailing list wxlua-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wxlua-users