On 6/2/07, Andre <[EMAIL PROTECTED]> wrote:
> John Labenski <[EMAIL PROTECTED]> writes:
>
> I had to replace
> wx.wxDir():GetAllFiles('.',  '*.*')
> (this causes a very strange error indeed)
>
> by
> wx.wxDir:GetAllFiles('.',  '*.*')
> but I think the first one is right

Another bug in the overrides due to the change for static class member
functions.

This is the "official" way to call this static class member function
count, fileTable = wx.wxDir.GetAllFiles('.',  '*.*')

or this if you need the wxDir for something else
d=wx.wxDir()
count, fileTable = d:GetAllFiles(d,'.',  '*.*')

But this also works, but you shouldn't use this since it creates an
unnecessary temporary wxDir.
count, fileTable = wx.wxDir():GetAllFiles('.',  '*.*')

Thanks again, this is why it took me so long... lots of little bits to
all get right.
    John Labenski

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
wxlua-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wxlua-users

Reply via email to