From 01263d9ebb304d9fba90d741bf849e0865e3c17d Mon Sep 17 00:00:00 2001 From: Jared Adams Date: Thu, 23 Jul 2009 10:24:29 -0600 Subject: Clear some more support ifdefs --- src/gui/magic.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/gui/magic.cpp') diff --git a/src/gui/magic.cpp b/src/gui/magic.cpp index 0906566b..48cfc5dc 100644 --- a/src/gui/magic.cpp +++ b/src/gui/magic.cpp @@ -22,6 +22,7 @@ #include "gui/magic.h" #include "gui/widgets/button.h" +#include "gui/setup.h" #include "localplayer.h" @@ -35,6 +36,7 @@ MagicDialog::MagicDialog(): setCloseButton(true); setSaveVisible(true); setDefaultSize(255, 30, 175, 225); + setupWindow->registerWindowForReset(this); gcn::Button *spellButton1 = new Button(_("Cast Test Spell 1"), "spell_1", this); gcn::Button *spellButton2 = new Button(_("Cast Test Spell 2"), "spell_2", this); -- cgit v1.2.3-70-g09d2