corrected CHECK in InsertPage()

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23071 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin 2003-08-21 13:27:41 +00:00
parent 74f8518b5c
commit 712f40ca5e

View File

@ -145,7 +145,7 @@ wxBookCtrl::InsertPage(size_t nPage,
int imageId)
{
wxCHECK_MSG( page, false, _T("NULL page in wxBookCtrl::InsertPage()") );
wxCHECK_MSG( nPage < m_pages.size(), false,
wxCHECK_MSG( nPage <= m_pages.size(), false,
_T("invalid page index in wxBookCtrl::InsertPage()") );
m_pages.Insert(page, nPage);