On Jan 3, 2008 9:47 AM, Klaas Holwerda <[EMAIL PROTECTED]> wrote: > Hi, > > With the latest CVS the erorr is already in the create binding stage. > > %class %noclassinfo a2dDrawRectangleTool > %member static const a2dCommandId COMID_PushTool_DrawRectangle; > %endclass > > > Results in: > > --------------------Configuration: luawraps - Win32 Debug-------------------- > Generating C:/data/art2d/wxArt2D/modules/luawraps/src/luabind.cpp > Generating wxWidgets Binding > Loaded rules file: luawraps_rules.lua > Loaded datatypes cache file: > c:/data/art2d/wxluacvs/wxLua/bindings/wxwidgets/wx_datatypes.lua > Timing: BuildDataTypeTable 0 seconds. > ERROR: Expected Member Name, got Tag='static'. File: > 'C:/data/art2d/wxArt2D/modules/luawraps/src/luabind.i':(line 92) > ' %member static const a2dCommandId COMID_PushTool_DrawRectangle;' > > > It looks like this static member data is something new, and not used yet in > wxWidgets itself. >
Ok, I'll add the code for it this weekend. I'll let you know when it should work. Regards, John ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ wxlua-users mailing list wxlua-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wxlua-users