summaryrefslogtreecommitdiff
path: root/src/gui/menuwindow.cpp
diff options
context:
space:
mode:
authorBjörn Steinbrink <B.Steinbrink@gmx.de>2005-10-18 21:40:25 +0000
committerBjörn Steinbrink <B.Steinbrink@gmx.de>2005-10-18 21:40:25 +0000
commitaa6a0b7b75bc05e51805b6f377ca6278f1f58436 (patch)
tree718c211089348a3b67641d16821a98ae88de0285 /src/gui/menuwindow.cpp
parentd0333c99e0ff4c5510875bf8993056875d6c93af (diff)
downloadmana-aa6a0b7b75bc05e51805b6f377ca6278f1f58436.tar.gz
mana-aa6a0b7b75bc05e51805b6f377ca6278f1f58436.tar.bz2
mana-aa6a0b7b75bc05e51805b6f377ca6278f1f58436.tar.xz
mana-aa6a0b7b75bc05e51805b6f377ca6278f1f58436.zip
Added automatic widget cleanup to the window class.
Diffstat (limited to 'src/gui/menuwindow.cpp')
-rw-r--r--src/gui/menuwindow.cpp9
1 files changed, 0 insertions, 9 deletions
diff --git a/src/gui/menuwindow.cpp b/src/gui/menuwindow.cpp
index 280339a1..21498468 100644
--- a/src/gui/menuwindow.cpp
+++ b/src/gui/menuwindow.cpp
@@ -83,15 +83,6 @@ MenuWindow::MenuWindow():
(setupButton->getY() + setupButton->getHeight()));
}
-MenuWindow::~MenuWindow()
-{
- delete statusButton;
- delete equipmentButton;
- delete skillsButton;
- delete inventoryButton;
- delete setupButton;
-}
-
void MenuWindow::draw(gcn::Graphics *g)
{
Window::drawContent(g);