예제 #1
0
CEGPropertyGrid::~CEGPropertyGrid()
{
	DeleteAllItems();

	s_nInstanceCount--;

	// free global resource when ALL CEGPropertyGrids are destroyed
	if (!s_nInstanceCount)
		FreeGlobalResources();
}
예제 #2
0
CPropTree::~CPropTree()
{
	DeleteAllItems();

	s_nInstanceCount--;

	// free global resource when ALL CPropTrees are destroyed
	if (!s_nInstanceCount)
		FreeGlobalResources();
}