From: Andreas F. <an...@fa...> - 2013-08-13 13:01:27
|
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:an...@fa... |