In order to implement static classmember functions I have made it so
that you can call the function as
wx.wxButton_GetDefaultSize()
or if you have an instance of a wxButton
mybutton:GetDefaultSize()
I had to remove "static" from the C binding functions in order to
share the C functions across the binding files. This meant that in
order to not have any name conflicts I prepended "wxLua_" to every
function so that for the above function the C function that lua calls
is
int LUACALL wxLua_wxButton_GetDefaultSize(lua_State* L)
previously it was
static int LUACALL wxButton_GetDefaultSize(lua_State* L)
-----
You must update any overrides you have written and add "wxLua_" to the
front as in
%override wxLua_SomeFunction
and for the C function signature.
Regards,
John Labenski
-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid0709&bid&3057&dat1642
_______________________________________________
Wxlua-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wxlua-users