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/buy.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/gui/buy.cpp') diff --git a/src/gui/buy.cpp b/src/gui/buy.cpp index 5b393a06..22572b63 100644 --- a/src/gui/buy.cpp +++ b/src/gui/buy.cpp @@ -27,6 +27,7 @@ #include "gui/widgets/scrollarea.h" #include "gui/widgets/slider.h" +#include "gui/setup.h" #include "gui/shop.h" #include "gui/shoplistbox.h" @@ -47,6 +48,7 @@ BuyDialog::BuyDialog(): mMoney(0), mAmountItems(0), mMaxItems(0) { setWindowName("Buy"); + setupWindow->registerWindowForReset(this); setResizable(true); setCloseButton(true); setMinWidth(260); -- cgit v1.2.3-70-g09d2