From a3d0748a76c9181b3e0fd88e938f9796db7c121c Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Sat, 24 Mar 2018 23:54:29 +0100 Subject: [PATCH] Fix typo in wxTreebook assert messages Fix recurring typo in "Invalid". No real changes. --- src/generic/treebkg.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/generic/treebkg.cpp b/src/generic/treebkg.cpp index 85d7158c93..5146bd7be2 100644 --- a/src/generic/treebkg.cpp +++ b/src/generic/treebkg.cpp @@ -327,7 +327,8 @@ void wxTreebook::DoInternalAddPage(size_t newPos, wxTreebookPage *page, wxTreeItemId pageId) { - wxASSERT_MSG( newPos <= m_treeIds.size(), wxT("Ivalid index passed to wxTreebook::DoInternalAddPage") ); + wxASSERT_MSG( newPos <= m_treeIds.size(), + wxT("Invalid index passed to wxTreebook::DoInternalAddPage") ); // hide newly inserted page initially (it will be shown when selected) if ( page ) @@ -363,7 +364,7 @@ void wxTreebook::DoInternalRemovePageRange(size_t pagePos, size_t subCount) // with all its children so pagePos is the node's index and subCount is the // node children count wxASSERT_MSG( pagePos + subCount < m_treeIds.size(), - wxT("Ivalid page index") ); + wxT("Invalid page index") ); wxTreeItemId pageId = m_treeIds[pagePos];