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:
@@ -2238,7 +2238,7 @@ void FormMain::OnInsertPropClick( wxCommandEvent& WXUNUSED(event) )
|
||||
{
|
||||
wxString propLabel;
|
||||
|
||||
if ( !m_pPropGridManager->GetChildrenCount() )
|
||||
if ( !m_pPropGridManager->GetGrid()->GetRoot()->GetChildCount() )
|
||||
{
|
||||
wxMessageBox(wxT("No items to relate - first add some with Append."));
|
||||
return;
|
||||
@@ -2304,7 +2304,7 @@ void FormMain::OnInsertCatClick( wxCommandEvent& WXUNUSED(event) )
|
||||
{
|
||||
wxString propLabel;
|
||||
|
||||
if ( !m_pPropGridManager->GetChildrenCount() )
|
||||
if ( !m_pPropGridManager->GetGrid()->GetRoot()->GetChildCount() )
|
||||
{
|
||||
wxMessageBox(wxT("No items to relate - first add some with Append."));
|
||||
return;
|
||||
|
Reference in New Issue
Block a user