diff options
author | Jared Adams <jaxad0127@gmail.com> | 2009-07-23 10:24:29 -0600 |
---|---|---|
committer | Jared Adams <jaxad0127@gmail.com> | 2009-07-23 10:31:36 -0600 |
commit | 01263d9ebb304d9fba90d741bf849e0865e3c17d (patch) | |
tree | 584bda0e0ec4a37b8fe911c6539ac29d54761f94 /src/gui/trade.cpp | |
parent | 69db63d2537b959a3a994fd77ae0d630126fe7e5 (diff) | |
download | mana-01263d9ebb304d9fba90d741bf849e0865e3c17d.tar.gz mana-01263d9ebb304d9fba90d741bf849e0865e3c17d.tar.bz2 mana-01263d9ebb304d9fba90d741bf849e0865e3c17d.tar.xz mana-01263d9ebb304d9fba90d741bf849e0865e3c17d.zip |
Clear some more support ifdefs
Diffstat (limited to 'src/gui/trade.cpp')
-rw-r--r-- | src/gui/trade.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gui/trade.cpp b/src/gui/trade.cpp index 3abb985e..e8953c8f 100644 --- a/src/gui/trade.cpp +++ b/src/gui/trade.cpp @@ -29,6 +29,7 @@ #include "gui/inventorywindow.h" #include "gui/itemamount.h" #include "gui/itemcontainer.h" +#include "gui/setup.h" #include "gui/widgets/button.h" #include "gui/widgets/chattab.h" @@ -65,6 +66,7 @@ TradeWindow::TradeWindow(): setDefaultSize(386, 180, ImageRect::CENTER); setMinWidth(386); setMinHeight(180); + setupWindow->registerWindowForReset(this); std::string longestName = getFont()->getWidth(_("OK")) > getFont()->getWidth(_("Trade")) ? |