diff options
author | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2008-04-16 08:39:59 +0000 |
---|---|---|
committer | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2008-04-16 08:39:59 +0000 |
commit | fe02ca9dcaa593d361f0acebcfb514997dc4ca9e (patch) | |
tree | 3dccd5a76a231f2f7a6261732f144c70e850afb7 /src/gui/textbox.h | |
parent | 2aae7dcba5b240674a76e0d85dbf64cede1d478b (diff) | |
download | mana-fe02ca9dcaa593d361f0acebcfb514997dc4ca9e.tar.gz mana-fe02ca9dcaa593d361f0acebcfb514997dc4ca9e.tar.bz2 mana-fe02ca9dcaa593d361f0acebcfb514997dc4ca9e.tar.xz mana-fe02ca9dcaa593d361f0acebcfb514997dc4ca9e.zip |
Restored the text wrapping in TextBox, since it was based on overriding a
method that is no longer virtual in Guichan 0.8.0 (gcn::TextBox::setText()).
Diffstat (limited to 'src/gui/textbox.h')
-rw-r--r-- | src/gui/textbox.h | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/src/gui/textbox.h b/src/gui/textbox.h index 54523281..f06f98ec 100644 --- a/src/gui/textbox.h +++ b/src/gui/textbox.h @@ -41,14 +41,9 @@ class TextBox : public gcn::TextBox { TextBox(); /** - * Constructor. - */ - TextBox(const std::string& text); - - /** * Sets the text after wrapping it to the current width of the widget. */ - void setText(const std::string &text); + void setTextWrapped(const std::string &text); }; #endif |