On Fri, Dec 7, 2012 at 7:13 AM, John Labenski <jlaben...@gmail.com> wrote:
> Use the delete() function to clean it up or better yet, try to reuse it if > possible. > Sorry for a very long delay (I was buried under work...) I guess I might be using an old version of wxLua, but I cannot use delete on the menu? I get an error like wxLua: Unable to call wxuserdata:delete() on object! Function called 'delete(userdata)' 01. wxMenu::delete(wxMenu(self)) (the above was written in I hope I did not make a typo during it) The above happened when I tried menu:delete() menu:Delete is something which deletes parts from a menu, so it does not really help. I managed to improve my situation a lot by making parts of my menu structure reusable, it does not get rid of the leak completely, but it decreases it by an order of magnitude. I will be doing wxLua update, when I have some more time. Eero ------------------------------------------------------------------------------ LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial Remotely access PCs and mobile devices and provide instant support Improve your efficiency, and focus on delivering more value-add services Discover what IT Professionals Know. Rescue delivers http://p.sf.net/sfu/logmein_12329d2d _______________________________________________ wxlua-users mailing list wxlua-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wxlua-users