]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/nbkbase.cpp
reverted the fix for Unicode compilation with VC++ as it breaks other ports (and...
[wxWidgets.git] / src / common / nbkbase.cpp
index c493e023803297ff4f13d6dbf21a39d1996e1c3e..436364a179b591103ef003a3e147f87a182d7078 100644 (file)
@@ -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;
 }