You must remove the %encapsulate and %noclassinfo tags in your bindings if you use the current CVS and for the next wxLua version.
I have finally got around to generating delete functions for each class instead of creating a wxObject subclass that would encapsulate and delete the member variable to the non-wxObject class wxLua wraps. The new way is faster, smaller, simpler, and more typesafe. The %noclassinfo tag is not necessary since if your bindings has the correct inheritance hierarchy we know if it is derived from a wxObject. There is no penalty if you decide to not expose to wxLua that your class is derived from a wxObject, but you will be unable to call wxDynamicCast() to change the type. Regards, John ------------------------------------------------------------------------------ Come build with us! The BlackBerry® Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9-12, 2009. Register now! http://p.sf.net/sfu/devconf _______________________________________________ wxlua-users mailing list wxlua-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wxlua-users