On Tue, Aug 13, 2013 at 9:01 AM, Andreas Falkenhahn
<andr...@falkenhahn.com>wrote:
> Hi,
>
> there is the following code in scribble.wx.lua:
>
> if colourWin:GetToolTip() ~= s then
> colourWin:SetToolTip(s)
> end
>
> But AFAICS, wxWindow::GetToolTip() will never return a string,
> but will always push a value of type "userdata" on the stack. Thus,
> the condition check is superfluous because it is always TRUE and
> SetToolTip() will always be called.
>
>
Good eye, you're right, fixed in SVN, thanks.
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