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:
@@ -405,6 +405,13 @@ void wxHtmlListBox::OnHTMLLinkClicked(const wxHtmlLinkInfo& link)
|
|||||||
OnLinkClicked(GetItemForCell(link.GetHtmlCell()), link);
|
OnLinkClicked(GetItemForCell(link.GetHtmlCell()), link);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void wxHtmlListBox::OnLinkClicked(size_t WXUNUSED(n),
|
||||||
|
const wxHtmlLinkInfo& link)
|
||||||
|
{
|
||||||
|
wxHtmlLinkEvent event(GetId(), link);
|
||||||
|
GetEventHandler()->ProcessEvent(event);
|
||||||
|
}
|
||||||
|
|
||||||
wxHtmlOpeningStatus
|
wxHtmlOpeningStatus
|
||||||
wxHtmlListBox::OnHTMLOpeningURL(wxHtmlURLType WXUNUSED(type),
|
wxHtmlListBox::OnHTMLOpeningURL(wxHtmlURLType WXUNUSED(type),
|
||||||
const wxString& WXUNUSED(url),
|
const wxString& WXUNUSED(url),
|
||||||
|
Reference in New Issue
Block a user