On Thu, Aug 15, 2013 at 8:59 AM, Andreas Falkenhahn
<andr...@falkenhahn.com>wrote:

> Hi,
>
> I noticed that the second method of wxImage::GetAlpha() is missing. AFAICS
> wxLua
> only has the first one. So I've quickly adapted this for wxLua. Here's the
> code in
> case you want to merge this with the official branch:
>


Thanks! I really appreciate these patches.



> I'm not sure if the wxluatype_NULL return is consistent with wxLua's
> standard.
> What is the function expected to return if wxImage::GetAlpha() returns
> NULL?
> Currently it returns wx.NULL but of course it could also be made to return
> NIL,
> an empty string, or even nothing here.... not sure how wxLua is supposed to
> behave in this case.
>
>
I made it return nil since that's probably more natural.

Regards,
    John
------------------------------------------------------------------------------
Get 100% visibility into Java/.NET code with AppDynamics Lite!
It's a free troubleshooting tool designed for production.
Get down to code-level detail for bottlenecks, with <2% overhead. 
Download for free and get started troubleshooting in minutes. 
http://pubads.g.doubleclick.net/gampad/clk?id=48897031&iu=/4140/ostg.clktrk
_______________________________________________
wxlua-users mailing list
wxlua-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wxlua-users

Reply via email to