+/* $Id$
+
+This file is part of libmspgltk
+Copyright © 2007 Mikko Rasa, Mikkosoft Productions
+Distributed under the LGPL
+*/
+
#include <msp/core/refptr.h>
#include "button.h"
#include "label.h"
delete *i;
}
+void Panel::add(Widget &wdg)
+{
+ children.push_back(&wdg);
+}
+
void Panel::button_press(int x, int y, unsigned btn)
{
if(pointer_grab>0)
set_input_focus(0);
}
-void Panel::add(Widget &wdg)
-{
- children.push_back(&wdg);
-}
-
void Panel::render_part(const Part &part) const
{
if(part.get_name()=="children")