From aa6a0b7b75bc05e51805b6f377ca6278f1f58436 Mon Sep 17 00:00:00 2001 From: Björn Steinbrink Date: Tue, 18 Oct 2005 21:40:25 +0000 Subject: Added automatic widget cleanup to the window class. --- src/gui/char_select.cpp | 13 ------------- 1 file changed, 13 deletions(-) (limited to 'src/gui/char_select.cpp') diff --git a/src/gui/char_select.cpp b/src/gui/char_select.cpp index a22a25de..0123251b 100644 --- a/src/gui/char_select.cpp +++ b/src/gui/char_select.cpp @@ -119,19 +119,6 @@ CharSelectDialog::CharSelectDialog(): setPlayerInfo(NULL); } -CharSelectDialog::~CharSelectDialog() -{ - delete selectButton; - delete cancelButton; - delete newCharButton; - delete delCharButton; - delete nameLabel; - delete levelLabel; - delete jobLevelLabel; - delete moneyLabel; - delete playerBox; -} - void CharSelectDialog::action(const std::string& eventId) { if (eventId == "ok" && n_character > 0) { -- cgit v1.2.3-70-g09d2