summaryrefslogtreecommitdiff
path: root/src/gui/buysell.cpp
diff options
context:
space:
mode:
authorJared Adams <jaxad0127@gmail.com>2009-07-23 10:24:29 -0600
committerJared Adams <jaxad0127@gmail.com>2009-07-23 10:31:36 -0600
commit01263d9ebb304d9fba90d741bf849e0865e3c17d (patch)
tree584bda0e0ec4a37b8fe911c6539ac29d54761f94 /src/gui/buysell.cpp
parent69db63d2537b959a3a994fd77ae0d630126fe7e5 (diff)
downloadmana-client-01263d9ebb304d9fba90d741bf849e0865e3c17d.tar.gz
mana-client-01263d9ebb304d9fba90d741bf849e0865e3c17d.tar.bz2
mana-client-01263d9ebb304d9fba90d741bf849e0865e3c17d.tar.xz
mana-client-01263d9ebb304d9fba90d741bf849e0865e3c17d.zip
Clear some more support ifdefs
Diffstat (limited to 'src/gui/buysell.cpp')
-rw-r--r--src/gui/buysell.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gui/buysell.cpp b/src/gui/buysell.cpp
index 53c2419a..c96c9f24 100644
--- a/src/gui/buysell.cpp
+++ b/src/gui/buysell.cpp
@@ -24,6 +24,7 @@
#include "npc.h"
#include "gui/widgets/button.h"
+#include "gui/setup.h"
#include "net/net.h"
#include "net/npchandler.h"
@@ -35,6 +36,7 @@ BuySellDialog::BuySellDialog():
mBuyButton(0)
{
setWindowName("BuySell");
+ setupWindow->registerWindowForReset(this);
static const char *buttonNames[] = {
N_("Buy"), N_("Sell"), N_("Cancel"), 0