X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/04db5c3f8f9dbf65ca81198ca1a6bbcbaa7a4a03..8912d7eb182ef5a5f95026a9ed239c9ad6c75915:/src/html/htmlwin.cpp diff --git a/src/html/htmlwin.cpp b/src/html/htmlwin.cpp index 9625513f47..212d556d99 100644 --- a/src/html/htmlwin.cpp +++ b/src/html/htmlwin.cpp @@ -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) {