From a73c6c36700e6cdc8ccb34789962fd886e4f7619 Mon Sep 17 00:00:00 2001 From: Max Horn Date: Fri, 16 Mar 2007 20:47:41 +0000 Subject: Added new file gui/object.cpp (collecting GuiObject methods in there), and renamed Dialog::deleteWidget to Dialog::removeWidget (name was misleading, the removed object does *not* get deleted) svn-id: r26147 --- gui/newgui.cpp | 5 ----- 1 file changed, 5 deletions(-) (limited to 'gui/newgui.cpp') diff --git a/gui/newgui.cpp b/gui/newgui.cpp index 6e941dd787..cc63d39692 100644 --- a/gui/newgui.cpp +++ b/gui/newgui.cpp @@ -54,11 +54,6 @@ enum { kKeyRepeatSustainDelay = 100 }; -// HACK. FIXME. This doesn't belong here. But otherwise it creates compilation problems -GuiObject::GuiObject(const Common::String &name) : _firstWidget(0) { - _name = name; -} - void GuiObject::reflowLayout() { if (!_name.empty()) { if ((_x = g_gui.evaluator()->getVar(_name + ".x")) == EVAL_UNDEF_VAR) -- cgit v1.2.3