My wxLua program seems to be leaking resources, and the leak seems to
be caused by popup menus. I have very context sensitive menus which I
pop up, so I am creating a new menu on every click of right button of
the mouse.

Google search found some hints for wxPython where it was recommended
to Destroy() the menu after it had been used. I had no success on this
with wxLua as Destroy seems to be (only) bound to the function
destroying menu elements, not for Destroying complete menu.

Any hints would be appreciated, for example information if this has
been fixed in the latest wxLua version, or if there is a better way
for doing what I am doing.

 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

Reply via email to