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, a2dWalkEvent event ) ..\..\..\..\wxArt2D\modules\luawraps\src\general.cpp(2592) : error C2065: 'wxluatype_long' : undeclared identifier Changing it in the *.i file to this makes it work: virtual bool WalkTask( wxObject* parent, wxObject* object, long event ) Any idea? Klaas ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ wxlua-users mailing list wxlua-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wxlua-users