On 7/31/07, Andre <[EMAIL PROTECTED]> wrote: > John Labenski <[EMAIL PROTECTED]> writes: > > > > > It looks like the stack is corrupted and the "GetPage" is function is > > getting swapped with a userdata which is perhaps the notebook. > > > > I cannot duplicate this with the choices.wx.lua sample where I added > > this to the HandleEvents(event) function after making the "notebook" > > variable global. > > > > print(notebook:GetPageCount()) > > print(notebook:GetPage(0), > notebook:GetPage(0):DynamicCast("wxPanel"):GetName()) > > > > However, there is a bug in the last version where the wxLuaFunctions > > (wrappers around the C functions called for each wrapped method) are > > tracked, but then not cleared. The lua registry table that tracks > > things to be deleted would clear the wrong item if the memory location > > is reused. This may explain why it happens after use for a long time. > > > > I'll try to do a binary release tomorrow, the source will have to wait > > since the configure script is still not working. > > > > Regards, > > John Labenski > > > > I have never used the binary where can I get it?
What platform? Are you using the CVS version or something else? If you're using CVS then there is something wrong, if you're using something older then I think that it's been fixed (see above). There won't be any binaries for Linux, probably, since there's too many flavors. > It seems to be somewhat related to event posting. Hopefully it's only due to the wxLuaFunction tracking which is used often for events. > By the way I am using the new binding functionality to provide auto completion > and function description in my editor and this works relatively well. The > binding code provides all the necessary information which is great. Good, I thought it might be useful to somebody and certainly is for me to make sure that the bindings are working properly. Regards, John Labenski ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ wxlua-users mailing list wxlua-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wxlua-users