1. fixed typo ('&' instead of '|') in wxNotebook
2. changed wxTC_MULTILINE to be equal to wxNB_MULTILINE and != 0 3. much more efficient selection handling in virtual wxListCtrl, we can now select 1000000 items without problems 4. kbd/mouse selection (ctrl/shift handling) fixed in wxListCtrl 5. added wxSortedArray::IndexForInsert() and AddAt(), remove Remove(size_t), use RemoveAt() instead git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10889 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user