From: John L. <jla...@gm...> - 2005-11-17 06:02:15
|
I've fixed the handling of %if statements for enums and added the bindings for "builtin" (global) functions like wxYield. I'm using wxWidgets CVS head, but when I updated the interface files I looked at the 2.6 headers, so it should work for that too. It compiles without error in GCC 4, but still needs some work and the Makefiles need some tweaking. If you want to try it use the Makefile in the apps/wxlua/src dir, gcc in linux only. Current bugs: (in Linux, wx27 CVS HEAD) Segfaults if you run the wxLua sample directly and you can't get a backtrace, this will probably be hard to figure out, but with some luck... $./wxLua wxLua: Expected enum number for parameter 6.wxLua: Error while running chunkwxLua: Error while running chunk Runs if you do $./wxLua ../../../samples/editor.wx.lua wxLua: Error while running chunk wxLua: Unexpected user defined data type for parameter 2. Open the "grid" sample and then The menu item "Run" wxLua: Error while running chunk ../../../samples/editor.wx.lua:1645: attempt to call field `wxExecute' (a nil value) stack traceback: ../../../samples/editor.wx.lua:1645: in function <../../../samples/editor.wx.lua:1635> But if you do "Debug" and then "Continue" it does show and even works! I'll try to clean it up a little more, fix these problems, and I think we should be workable in just a short time. -John Labenski |