From a3b5cead1af990df004c0a7e180e148f066d8902 Mon Sep 17 00:00:00 2001 From: =?utf8?q?V=C3=A1clav=20Slav=C3=ADk?= Date: Sun, 29 Oct 2006 21:13:58 +0000 Subject: [PATCH] add events API to wxHtmlWindow (patch #1504493 by Francesco Montorsi) git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42673 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/generic/htmllbox.cpp | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/generic/htmllbox.cpp b/src/generic/htmllbox.cpp index 7e4f8d73e4..abaf644e22 100644 --- a/src/generic/htmllbox.cpp +++ b/src/generic/htmllbox.cpp @@ -405,6 +405,13 @@ void wxHtmlListBox::OnHTMLLinkClicked(const wxHtmlLinkInfo& link) OnLinkClicked(GetItemForCell(link.GetHtmlCell()), link); } +void wxHtmlListBox::OnLinkClicked(size_t WXUNUSED(n), + const wxHtmlLinkInfo& link) +{ + wxHtmlLinkEvent event(GetId(), link); + GetEventHandler()->ProcessEvent(event); +} + wxHtmlOpeningStatus wxHtmlListBox::OnHTMLOpeningURL(wxHtmlURLType WXUNUSED(type), const wxString& WXUNUSED(url), -- 2.45.2