xsSerializable* xsSerializable::GetLastChild(wxClassInfo *type) { SerializableList::compatibility_iterator node = m_lstChildItems.GetLast(); while( node ) { if( node->GetData()->IsKindOf( type ) ) return node->GetData(); node = node->GetPrevious(); } return NULL; }