//-----------------------------------------------------------------------------
// item of history list
-class WXDLLEXPORT wxHtmlHistoryItem : public wxObject
+class WXDLLEXPORT wxHtmlHistoryItem
{
public:
wxHtmlHistoryItem(const wxString& p, const wxString& a) {m_Page = p, m_Anchor = a, m_Pos = 0;}
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)
{