summaryrefslogtreecommitdiff
path: root/src/gui/widgets/windowcontainer.h
diff options
context:
space:
mode:
authorBjørn Lindeijer <bjorn@lindeijer.nl>2009-04-10 02:20:04 +0200
committerBjørn Lindeijer <bjorn@lindeijer.nl>2009-04-10 02:27:44 +0200
commit33afe8f744587b9a8da67e85298bb2e1c28d083d (patch)
tree807981f32e1f73da6f8719631b46fd493a0e7ae3 /src/gui/widgets/windowcontainer.h
parent07e8a1b8408ed40cbf2031476627647057f62141 (diff)
downloadmana-client-33afe8f744587b9a8da67e85298bb2e1c28d083d.tar.gz
mana-client-33afe8f744587b9a8da67e85298bb2e1c28d083d.tar.bz2
mana-client-33afe8f744587b9a8da67e85298bb2e1c28d083d.tar.xz
mana-client-33afe8f744587b9a8da67e85298bb2e1c28d083d.zip
Reduced the GCContainer to be even more trivial
A container that deletes all its children on destruction doesn't have to be so complicated. Also renamed it to simply Container, since I think it should simply be default behavior. WindowContainer and Popup classes now inherit from this Container.
Diffstat (limited to 'src/gui/widgets/windowcontainer.h')
-rw-r--r--src/gui/widgets/windowcontainer.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/widgets/windowcontainer.h b/src/gui/widgets/windowcontainer.h
index bc918184..a2c285cb 100644
--- a/src/gui/widgets/windowcontainer.h
+++ b/src/gui/widgets/windowcontainer.h
@@ -22,7 +22,7 @@
#ifndef WINDOWCONTAINER_H
#define WINDOWCONTAINER_H
-#include <guichan/widgets/container.hpp>
+#include "gui/widgets/container.h"
/**
* A window container. This container adds functionality for more convenient
@@ -30,7 +30,7 @@
*
* \ingroup GUI
*/
-class WindowContainer : public gcn::Container
+class WindowContainer : public Container
{
public:
/**