Hi John,

Mostly want without a problem. But a nested class does not work anymore.
Like:
class A2DCANVASDLLEXP a2dCanvasObject: public a2dEvtHandler
{
    class A2DCANVASDLLEXP a2dFeedbackIdPinMapping : public a2dFeedbackId
...........

The a2dFeedbackIdPinMapping class gets wrongly wrapped, down here 
a2dCanvasObject:: was missing.
Don't know why it worked before.

I get wrapped like:

void wxLua_a2dFeedbackIdPinMapping_delete_function(void** p)
{
    a2dCanvasObject::a2dFeedbackIdPinMapping* o = 
(a2dCanvasObject::a2dFeedbackIdPinMapping*)(*p);
    delete o;
}

Regards,

Klaas



John Labenski wrote:
> 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.
>   


------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) 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/devconference
_______________________________________________
wxlua-users mailing list
wxlua-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wxlua-users

Reply via email to