From 08aedc8b2a1fa5e47a79b212526138ae6244e61f Mon Sep 17 00:00:00 2001 From: Mikko Rasa Date: Sun, 26 Jul 2009 19:25:26 +0000 Subject: [PATCH] Inherit Root from sigc::trackable so it's safe to delete it --- source/root.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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; -- 2.43.0