//-----------------------------------------------------------------------------
// 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;}
m_RelatedFrame->SetStatusText(_("Connecting..."), m_RelatedStatusBar);
Refresh(FALSE);
}
-
- f = m_FS->OpenFile(location);
+
+ f = m_Parser->OpenURL(wxHTML_URL_PAGE, location);
if (f == NULL)
{
m_OpenedPage = f->GetLocation();
if (f->GetAnchor() != wxEmptyString)
{
- wxYield();
ScrollToAnchor(f->GetAnchor());
}
if (needs_refresh)
{
- wxYield();
m_tmpCanDrawLocks--;
Refresh();
}
if (a == wxEmptyString) LoadPage(l);
else LoadPage(l + wxT("#") + a);
m_HistoryOn = TRUE;
- wxYield();
m_tmpCanDrawLocks--;
Scroll(0, (*m_History)[m_HistoryPos].GetPos());
Refresh();
if (a == wxEmptyString) LoadPage(l);
else LoadPage(l + wxT("#") + a);
m_HistoryOn = TRUE;
- wxYield();
m_tmpCanDrawLocks--;
Scroll(0, (*m_History)[m_HistoryPos].GetPos());
Refresh();