GetChildrenCount() should be const

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26829 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2004-04-16 09:44:32 +00:00
parent 69f9caa288
commit df74fdeafd
2 changed files with 5 additions and 2 deletions

View File

@@ -836,7 +836,9 @@ void wxGenericTreeCtrl::SetSpacing(unsigned int spacing)
m_dirty = TRUE;
}
size_t wxGenericTreeCtrl::GetChildrenCount(const wxTreeItemId& item, bool recursively)
size_t
wxGenericTreeCtrl::GetChildrenCount(const wxTreeItemId& item,
bool recursively) const
{
wxCHECK_MSG( item.IsOk(), 0u, wxT("invalid tree item") );