Esempio n. 1
0
 SPropertyItemBase::~SPropertyItemBase()
 {
     SPOSITION pos = m_childs.GetHeadPosition();
     while(pos)
     {
         IPropertyItemPtr pChild = m_childs.GetNext(pos);
         pChild->Release();
     }
     m_childs.RemoveAll();
 }
Esempio n. 2
0
    SPropertyItemBase::~SPropertyItemBase()
    {
        SPOSITION pos = m_childs.GetHeadPosition();
        while(pos)
        {
            IPropertyItemPtr pChild = m_childs.GetNext(pos);
            pChild->Release();
        }
		SPropertyGrid* grid = GetOwner();
		grid->RemoveAllGridItem();
        m_childs.RemoveAll();

    }