diff options
author | Alexander Sulfrian <alexander@sulfrian.net> | 2010-04-23 11:43:21 +0200 |
---|---|---|
committer | Alexander Sulfrian <alexander@sulfrian.net> | 2013-01-05 17:17:47 +0100 |
commit | b3f87944ba62ee82684f30fc89d8bbd5cf472b48 (patch) | |
tree | 0099a83f05ae70506c1355fc2f3c7c29803664cd /src/menu/container.cpp | |
parent | f2b29d039424262426fd4598ce076f54e31854cf (diff) | |
download | usdx-b3f87944ba62ee82684f30fc89d8bbd5cf472b48.tar.gz usdx-b3f87944ba62ee82684f30fc89d8bbd5cf472b48.tar.xz usdx-b3f87944ba62ee82684f30fc89d8bbd5cf472b48.zip |
added parent to control
parent is used to delete the objects if the parent is deleted
Diffstat (limited to '')
-rw-r--r-- | src/menu/container.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/menu/container.cpp b/src/menu/container.cpp index 57bac666..467e5aa5 100644 --- a/src/menu/container.cpp +++ b/src/menu/container.cpp @@ -28,7 +28,8 @@ namespace usdx { - Container::Container() + Container::Container(Control* parent) + : DrawableControl(parent) { } |