-Panel::Child *Panel::create_child(Widget *wdg)
-{
- return new Child(*this, wdg);
-}
-
-void Panel::raise(Widget &wdg)
-{
- for(list<Container::Child *>::iterator i=children.begin(); i!=children.end(); ++i)
- if((*i)->widget==&wdg)
- {
- children.splice(children.end(), children, i);
- return;
- }
-
- throw hierarchy_error("widget not in panel");
-}
-
-Widget *Panel::get_final_input_focus() const
-{
- if(Panel *panel = dynamic_cast<Panel *>(input_focus))
- {
- Widget *focus = panel->get_final_input_focus();
- if(focus)
- return focus;
- }
- return input_focus;
-}
-
-void Panel::render_special(const Part &part) const