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:
@@ -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)
|
||||
{
|
||||
|
Reference in New Issue
Block a user