X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/bd52bee1062faef26287d2f5a2595a9d8ee4d85a..038072e2f1eaf2bf32d748a71234d767ebba8919:/src/common/nbkbase.cpp diff --git a/src/common/nbkbase.cpp b/src/common/nbkbase.cpp index c493e02380..436364a179 100644 --- a/src/common/nbkbase.cpp +++ b/src/common/nbkbase.cpp @@ -120,7 +120,7 @@ wxNotebookPage *wxNotebookBase::DoRemovePage(int nPage) _T("invalid page index in wxNotebookBase::DoRemovePage()") ); wxNotebookPage *pageRemoved = m_pages[nPage]; - m_pages.Remove(nPage); + m_pages.RemoveAt(nPage); return pageRemoved; }