]> git.saurik.com Git - wxWidgets.git/blobdiff - src/html/htmlwin.cpp
added common regex
[wxWidgets.git] / src / html / htmlwin.cpp
index aef5ec23b052803352dd3b014e0f1d5e56ad7e7b..30164dc55da4899988aa9ec251085c0f05210fa8 100644 (file)
@@ -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));
         }
     }