Hi John or other wrappers,
Do you have an idea how i can wrap the next (static const member )
class A2DEDITORDLLEXP a2dDrawRectangleTool: public a2dStDrawTool
{
public:
static const a2dCommandId COMID_PushTool_DrawRectangle;
I tried:
%class %noclassinfo a2dCommandId
%endclass
%class %noclassinfo a2dDrawRectangleTool
%member const a2dCommandId COMID_PushTool_DrawRectangle;
%endclass
And although this compiles in C++, the next line is a not working in wxLua.
wx.a2dMaskProc:PushTool( wx.a2dDrawRectangleTool.COMID_PushTool_DrawRectangle )
Error: lua: Syntax error during pre-compilation
[string "*tools.lua"]:2: function arguments expected near ')'
Or am i doing something wrong to call it?
I must admit i am not using the latest CVS version.
Thanks,
Klaas
--
Unclassified
-------------------------------------------------------------------------
SF.Net email is sponsored by:
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services
for just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
_______________________________________________
wxlua-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wxlua-users