From: Paul K <pau...@ya...> - 2013-08-30 01:32:50
|
Hi John, I've been trying to add some reaction based on link clicked in wxLuaHtmlWindow and can't figure out how to set it. This is what I've tried: wx.wxLuaHtmlWindow.OnLinkClicked = function(self, link) -- do something end but don't see any reaction (I tried to output something and to call "error"). What is the right way to set it? Also, I see the code that resets some internal flag after OnLickClicked is called: m_wxlState.SetCallBaseClassFunction(false); // clear flag always Does this mean I need to re-set it every time the link is clicked? Thank you. Paul. |