X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/ee19c32471bdfec2ec13cfb7169d3c62b9f4a0c2..adac097759c089b3d47f48c7756ace4f0b8df879:/src/html/htmlwin.cpp diff --git a/src/html/htmlwin.cpp b/src/html/htmlwin.cpp index 00c0fb7377..30164dc55d 100644 --- a/src/html/htmlwin.cpp +++ b/src/html/htmlwin.cpp @@ -23,15 +23,18 @@ #endif #ifndef WXPRECOMP -#include "wx/wx.h" + #include "wx/log.h" + #include "wx/intl.h" + #include "wx/dcclient.h" + #include "wx/frame.h" #endif #include "wx/html/htmlwin.h" #include "wx/html/forcelnk.h" #include "wx/html/htmlproc.h" -#include "wx/log.h" -#include "wx/arrimpl.cpp" #include "wx/list.h" + +#include "wx/arrimpl.cpp" #include "wx/listimpl.cpp" //----------------------------------------------------------------------------- @@ -312,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)); } }