From: John L. <jla...@gm...> - 2013-03-16 00:51:38
|
On Fri, Mar 15, 2013 at 8:25 PM, Paul K <pau...@ya...> 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 |