From 7cf46d715e08b8a355ef9ea7be5421a2710d65fc Mon Sep 17 00:00:00 2001 From: Bjørn Lindeijer Date: Wed, 29 Dec 2004 20:41:14 +0000 Subject: Ported the npc text dialog and some other small updates. --- src/gui/npc.cpp | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'src/gui/npc.cpp') diff --git a/src/gui/npc.cpp b/src/gui/npc.cpp index d206010e..80d55c73 100644 --- a/src/gui/npc.cpp +++ b/src/gui/npc.cpp @@ -54,6 +54,14 @@ NpcListDialog::NpcListDialog(gcn::Container *parent): setLocationRelativeTo(getParent()); } +NpcListDialog::~NpcListDialog() +{ + delete okButton; + delete cancelButton; + delete itemList; + delete scrollArea; +} + int NpcListDialog::getNumberOfElements() { return items.size(); -- cgit v1.2.3-70-g09d2