-/* $Id$
-
-This file is part of libmspgltk
-Copyright © 2009-2011 Mikko Rasa, Mikkosoft Productions
-Distributed under the LGPL
-*/
-
#include "container.h"
using namespace std;
{
wdg.set_parent(this);
children.push_back(create_child(&wdg));
+ on_child_added(wdg);
}
void Container::remove(Widget &wdg)
wdg.set_parent(0);
delete *i;
children.erase(i);
+ on_child_removed(wdg);
return;
}