X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/04db5c3f8f9dbf65ca81198ca1a6bbcbaa7a4a03..f565a6c2f4c6961c96dd330a98d0fa78f20ca8c0:/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) {