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
This commit is contained in:
parent
cc179d360a
commit
a3b5cead1a
@ -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),
|
||||
|
Loading…
Reference in New Issue
Block a user