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

    }