Exemplo n.º 1
0
void
DetailSet::Destroy()
{
    for (int i = 0; i < levels; i++) {
        ListIter<Graphic> iter = rep[i];

        while (++iter) {
            Graphic* g = iter.removeItem();
            g->Destroy();  // this will delete the object (g)
        }

        off[i].destroy();
    }

    rate.destroy();
    spin.destroy();
}