new wxHtmlWindow::OnOpeningURL API

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13854 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Václav Slavík
2002-01-27 19:03:10 +00:00
parent d2b0092bed
commit 6cc4e6b81a
10 changed files with 244 additions and 85 deletions

View File

@@ -263,13 +263,7 @@ bool wxHtmlWindow::LoadPage(const wxString& location)
Refresh(FALSE);
}
if ( !m_Parser->CanOpenURL(location) )
{
wxLogError(_("Access denied to document '%s'!"), location.c_str());
return FALSE;
}
f = m_FS->OpenFile(location);
f = m_Parser->OpenURL(wxHTML_URL_PAGE, location);
if (f == NULL)
{