void wxHtmlWindow::OnLinkClicked(const wxHtmlLinkInfo& link)
{
wxHtmlLinkEvent event(GetId(), link);
void wxHtmlWindow::OnLinkClicked(const wxHtmlLinkInfo& link)
{
wxHtmlLinkEvent event(GetId(), link);
if (!GetEventHandler()->ProcessEvent(event))
{
// the default behaviour is to load the URL in this window
if (!GetEventHandler()->ProcessEvent(event))
{
// the default behaviour is to load the URL in this window