summaryrefslogtreecommitdiff
path: root/src/gui/buysell.cpp
diff options
context:
space:
mode:
authorBjørn Lindeijer <bjorn@lindeijer.nl>2005-03-20 12:50:26 +0000
committerBjørn Lindeijer <bjorn@lindeijer.nl>2005-03-20 12:50:26 +0000
commit90e5ce7e958418f0d39d38112d33d3190a78baea (patch)
tree012150b22e971e44d0f7e795ef48384e15392940 /src/gui/buysell.cpp
parent9ca202ae89bbe60f2cd1c8e3249a4fe3f8972a2b (diff)
downloadmana-90e5ce7e958418f0d39d38112d33d3190a78baea.tar.gz
mana-90e5ce7e958418f0d39d38112d33d3190a78baea.tar.bz2
mana-90e5ce7e958418f0d39d38112d33d3190a78baea.tar.xz
mana-90e5ce7e958418f0d39d38112d33d3190a78baea.zip
TMW now uses latest Guichan CVS, and doesn't work with Guichan 0.2.0 anymore!
Also fixed a crash on clicking wallpaper in login phase.
Diffstat (limited to 'src/gui/buysell.cpp')
-rw-r--r--src/gui/buysell.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/buysell.cpp b/src/gui/buysell.cpp
index cc9cbcc6..c81744dc 100644
--- a/src/gui/buysell.cpp
+++ b/src/gui/buysell.cpp
@@ -38,7 +38,7 @@ BuySellDialog::BuySellDialog():
buyButton->getX() + buyButton->getWidth() + 10, 10);
cancelButton->setPosition(
sellButton->getX() + sellButton->getWidth() + 10, 10);
- setSize(cancelButton->getX() + cancelButton->getWidth() + 10,
+ setContentSize(cancelButton->getX() + cancelButton->getWidth() + 10,
cancelButton->getY() + cancelButton->getHeight() + 10);
buyButton->setEventId("buy");