On 2/7/07, John Labenski <[EMAIL PROTECTED]> wrote:
> This is ok, numbers are double in lua so you always have to do
> multiple casts. I wonder why wxBAUD is not treated as an enumeration
> though? The function call should be
>
> wxBaud val = (wxBaud)wxlState.GetEnumerationType(2);
>
> Ahh... I have updated the file "genwxbind.lua" to handle this (line
> 2820) where we check to see if the value is a enumeration type
> IsDataTypeEnum(...). Please try this new version to see if it works
> since none of the bindings we currently have require this.

I tried it and it fixed the problem. Thanks.
-- 
Regards,
Ryan
RJP Computing

-------------------------------------------------------------------------
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&kid=120709&bid=263057&dat=121642
_______________________________________________
wxlua-users mailing list
wxlua-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wxlua-users

Reply via email to