From b3f87944ba62ee82684f30fc89d8bbd5cf472b48 Mon Sep 17 00:00:00 2001 From: Alexander Sulfrian Date: Fri, 23 Apr 2010 11:43:21 +0200 Subject: added parent to control parent is used to delete the objects if the parent is deleted --- src/menu/frame.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/menu/frame.hpp') diff --git a/src/menu/frame.hpp b/src/menu/frame.hpp index 7f9af120..e71bef9b 100644 --- a/src/menu/frame.hpp +++ b/src/menu/frame.hpp @@ -41,8 +41,8 @@ namespace usdx virtual void draw(void) const; public: - Frame(); - Frame(FrameBackground* background); + Frame(Control* parent); + Frame(Control* parent, FrameBackground* background); virtual ~Frame(); -- cgit v1.2.3