On Fri, Mar 15, 2013 at 8:25 PM, Paul K <[email protected]> wrote: > Hi John, > > I noticed that wxlua is missing the Traverse method in wxDir object > (http://docs.wxwidgets.org/2.8/wx_wxdir.html#wxdirtraverse).
Please use GetAllFiles() or roll your own GetFirst() GetNext() recursive function instead. http://wxlua.sourceforge.net/docs/wxluaref.html#wxDir An example of how to do that is here, see wxDir::Traverse() http://svn.wxwidgets.org/viewvc/wx/wxWidgets/trunk/src/common/dircmn.cpp?view=markup I don't really see any gain in using it for Lua programs as it just adds a layer of complexity and without enumeration type-safety can cause more problems than it would solve. Regards, John ------------------------------------------------------------------------------ Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_d2d_mar _______________________________________________ wxlua-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/wxlua-users
