Removed wxPropertyGridManager::GetChildrentCount() member functions - now use page->GetRoot()->GetChildCount() and such

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55883 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Jaakko Salli
2008-09-25 17:23:54 +00:00
parent 9288df3401
commit 5a8009d2f1
4 changed files with 2 additions and 52 deletions

View File

@@ -348,25 +348,6 @@ public:
*/
bool EnsureVisible( wxPGPropArg id );
/** Returns number of children of the root property of the selected page. */
size_t GetChildrenCount()
{
return GetChildrenCount( m_pPropGrid->m_pState->m_properties );
}
/** Returns number of children of the root property of given page. */
size_t GetChildrenCount( int pageIndex );
/** Returns number of children for the property.
NB: Cannot be in container methods class due to name hiding.
*/
size_t GetChildrenCount( wxPGPropArg id ) const
{
wxPG_PROP_ARG_CALL_PROLOG_RETVAL(0)
return p->GetChildCount();
}
/** Returns number of columns on given page. By the default,
returns number of columns on current page. */
int GetColumnCount( int page = -1 ) const;