|
From: Hakki D. <dog...@tr...> - 2006-12-24 20:59:33
|
Hi,
Jérôme VUARAND wrote:
> Hi list,
>
> I just downloaded the new module release wxlua-2.8.0.0-dlls.zip. Since
> there are no samples with it I downloaded those from the wxLua source
> packages. I then tried to run them with that command line :
> $ lua -lwx minimal.wx.lua
>
> But the application are not running properly. Consistently with all
> samples, the application window pops for a fraction of a second and
> then depops. I tried adding an infinite loop at the end of the sample
> or a blocking read on stdin, but then the window don't receive any
> event.
>
> I looked at the list archive but didn't found anything. Is there a
> known problem with this release of the module version or does I have
> to adapt the samples to a different paradigm/api ?
>
> Jérôme.
Most of the samples designed for wxLua.exe.
You may write a simple bootstrap file, ie:
wx = require("wx")
dofile("wxluasudoku.wx.lua")
wx.wxGetApp():MainLoop()
--
Regards,
Hakki Dogusan
|