From: Philipp Ü. <mu...@tu...> - 2014-06-25 07:37:04
|
On Tue, 24 Jun 2014 18:04:12 -0400 John Labenski <jla...@gm...> wrote: > On Mon, Jun 23, 2014 at 10:57 PM, Paul K <pau...@ya...> > wrote: > > > John, > > > > > > Thank you for the update. Curious, can you run a simple script that > > checks if GetChildren() is available method for wxWindow? It's been > > reported that for some reason GetChildren() is not available when > > compiled with wxgtk3 (3.0.1) on Archlinux: > > > > wxLua: Unable to call an unknown method 'GetChildren' on a > > 'wxWindow' type. stack traceback: > > [C]: in function '__index' > > ... > > > > I haven't had a chance to test it myself yet, but I can use it when > > compiled on Windows and it was clearly present in previous versions > > as well (2.9.x). > > > > > This is because wxList for the STL build is nothing like the old > wxList and the function signatures are quite different. Add to this > wx2.8 compatibility and this may take some doing, but luckily the use > of wxLists in wxLua should be minimal. > > I may just make a new function to return the wxWindow::GetChildren() > as a Lua table and dispense with any attempt to get list iterators to > work in Lua. Though this is an incompatible change, the use of > wxNodes in Lua is awkward at best. > > I have to look at it further. > > Regards, > John The STL-build is caused by the --enable-stl flag in wxGTK, right? https://projects.archlinux.org/svntogit/packages.git/tree/trunk/PKGBUILD?h=packages/wxgtk If so then at least for the Arch users of wxLua and zbstudio I can work around this by creating a wxGTK PKGBUILD without this flag. Regards, Philipp |