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.

------------------------------------------------------------------------------
Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more!
Discover the easy way to master current and previous Microsoft technologies
and advance your career. Get an incredible 1,500+ hours of step-by-step
tutorial videos with LearnDevNow. Subscribe today and save!
http://pubads.g.doubleclick.net/gampad/clk?id=58040911&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