On Sun, Oct 11, 2009 at 3:32 PM, klaas.holwerda <n...@klaasholwerda.nl> wrote:
> 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;
> }

It should it be
wxLua_a2dCanvasObject_a2dFeedbackIdPinMapping_delete_function(). I
wonder why you don't get that. I just tried this and it seems to
generate the right code (though it can't compile).

%class %delete wxPoint::wxPointSub
    wxPoint::wxPointSub()
%endclass

How do you declare your class in the interface files?

Regards,
    John

------------------------------------------------------------------------------
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