On Tue, 24 Jun 2014 18:04:12 -0400
John Labenski <jlaben...@gmail.com> wrote:

> On Mon, Jun 23, 2014 at 10:57 PM, Paul K <paulclin...@yahoo.com>
> 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

------------------------------------------------------------------------------
Open source business process management suite built on Java and Eclipse
Turn processes into business applications with Bonita BPM Community Edition
Quickly connect people, data, and systems into organized workflows
Winner of BOSSIE, CODIE, OW2 and Gartner awards
http://p.sf.net/sfu/Bonitasoft
_______________________________________________
wxlua-users mailing list
wxlua-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wxlua-users

Reply via email to