Exemplo n.º 1
0
void CGUIControlGroup::PreAllocResources()
{
  CGUIControl::PreAllocResources();
  for (iControls it = m_children.begin(); it != m_children.end(); ++it)
  {
    CGUIControl *control = *it;
    if (!control->IsDynamicallyAllocated())
      control->PreAllocResources();
  }
}