X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/04dbb6467be8f564f380bd9a1106fbdecbd26a98..211cc8dc907ee50ca6d383b8df16bba9a4d3ce2d:/src/html/htmlwin.cpp diff --git a/src/html/htmlwin.cpp b/src/html/htmlwin.cpp index aef5ec23b0..30164dc55d 100644 --- a/src/html/htmlwin.cpp +++ b/src/html/htmlwin.cpp @@ -315,7 +315,7 @@ bool wxHtmlWindow::LoadPage(const wxString& location) { m_HistoryPos++; for (int i = 0; i < c; i++) - m_History->Remove(m_HistoryPos); + m_History->RemoveAt(m_HistoryPos); m_History->Add(new wxHtmlHistoryItem(m_OpenedPage, m_OpenedAnchor)); } }