Hi, there is the following code in scribble.wx.lua:
local s = "Set pen color : "..colourWinColours[i] 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. Correct me if I overlooked something here... -- Best regards, Andreas Falkenhahn mailto:andr...@falkenhahn.com ------------------------------------------------------------------------------ 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