Ejemplo n.º 1
0
 SPropertyItemBase::~SPropertyItemBase()
 {
     SPOSITION pos = m_childs.GetHeadPosition();
     while(pos)
     {
         IPropertyItemPtr pChild = m_childs.GetNext(pos);
         pChild->Release();
     }
     m_childs.RemoveAll();
 }
Ejemplo 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();

    }