Beispiel #1
0
//
// ICRoot::PurgeNonSystem
//
// Delete all non system controls
//
void ICRoot::PurgeNonSystem()
{
  for (NList<IControl>::Iterator i(&children); *i; i++)
  {
    IControl *ctrl = *i;

    if (!(ctrl->controlStyle & IControl::STYLE_SYSTEMWIDE))
    {
      ctrl->MarkForDeletion();
    }
  }
}