Re: [wxlua-users] bind type

2008-10-21 Thread John Labenski
On Tue, Oct 21, 2008 at 12:42 PM, klaas.holwerda [EMAIL PROTECTED] wrote: John Labenski wrote: On Sat, Oct 18, 2008 at 6:23 AM, klaas.holwerda [EMAIL PROTECTED] wrote: One more, a2dWalkEvent is a simple const long In the rules file i did add this: AllocDataType(a2dWalkEvent, const long,

Re: [wxlua-users] bind type

2008-10-20 Thread John Labenski
On Sat, Oct 18, 2008 at 6:23 AM, klaas.holwerda [EMAIL PROTECTED] wrote: Hi John, One more, a2dWalkEvent is a simple const long In the rules file i did add this: AllocDataType(a2dWalkEvent, const long, false) Force it to be treated as a number: AllocDataType(a2dWalkEvent, const long,

[wxlua-users] bind type

2008-10-18 Thread klaas.holwerda
Hi John, One more, a2dWalkEvent is a simple const long In the rules file i did add this: AllocDataType(a2dWalkEvent, const long, false) Tried this as an extra, no difference. %typedef a2dWalkEvent const long The problem is here: virtual bool WalkTask( wxObject* parent, wxObject* object,