From: Mikko Rasa Date: Sun, 26 Jul 2009 19:25:26 +0000 (+0000) Subject: Inherit Root from sigc::trackable so it's safe to delete it X-Git-Tag: 1.1~4 X-Git-Url: http://git.tdb.fi/?a=commitdiff_plain;h=08aedc8b2a1fa5e47a79b212526138ae6244e61f;p=libs%2Fgltk.git Inherit Root from sigc::trackable so it's safe to delete it --- diff --git a/source/root.h b/source/root.h index 94fb483..36efba7 100644 --- a/source/root.h +++ b/source/root.h @@ -1,13 +1,14 @@ /* $Id$ This file is part of libmspgltk -Copyright © 2007 Mikko Rasa, Mikkosoft Productions +Copyright © 2007, 2009 Mikko Rasa, Mikkosoft Productions Distributed under the LGPL */ #ifndef MSP_GLTK_ROOT_H_ #define MSP_GLTK_ROOT_H_ +#include #include #include "panel.h" @@ -20,7 +21,7 @@ input from it. When created, a Root widget will take its size from the window it is created for. The size can be changed, but a Root should always be rendered to fill the window in order to get coordinates mapped correctly. */ -class Root: public Panel +class Root: public Panel, public sigc::trackable { private: Graphics::Window &window;