summaryrefslogtreecommitdiff
path: root/src/gui/textbox.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/textbox.cpp')
-rw-r--r--src/gui/textbox.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/textbox.cpp b/src/gui/textbox.cpp
index 329813e5..84c8ad4b 100644
--- a/src/gui/textbox.cpp
+++ b/src/gui/textbox.cpp
@@ -32,14 +32,14 @@ TextBox::TextBox():
gcn::TextBox()
{
setOpaque(false);
- setBorderSize(0);
+ setFrameSize(0);
}
TextBox::TextBox(const std::string& text):
gcn::TextBox(text)
{
setOpaque(false);
- setBorderSize(0);
+ setFrameSize(0);
}
void TextBox::setText(const std::string &text)