summaryrefslogtreecommitdiff
path: root/src/gui/npcpostdialog.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-10-20 02:53:30 +0300
committerAndrei Karas <akaras@inbox.ru>2012-10-20 13:55:43 +0300
commit4f20c92940b9cbb8e87d0765860a81eb3f7d2733 (patch)
tree94bb2372a80b65e39751ddac3bcfb861beb837af /src/gui/npcpostdialog.cpp
parent015b14f8e60d64da2999da9c753af62ec1ffdf72 (diff)
downloadplus-4f20c92940b9cbb8e87d0765860a81eb3f7d2733.tar.gz
plus-4f20c92940b9cbb8e87d0765860a81eb3f7d2733.tar.bz2
plus-4f20c92940b9cbb8e87d0765860a81eb3f7d2733.tar.xz
plus-4f20c92940b9cbb8e87d0765860a81eb3f7d2733.zip
Add palette inheritance to textbox class.
Diffstat (limited to 'src/gui/npcpostdialog.cpp')
-rw-r--r--src/gui/npcpostdialog.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/npcpostdialog.cpp b/src/gui/npcpostdialog.cpp
index 6d1064ef6..09d94881f 100644
--- a/src/gui/npcpostdialog.cpp
+++ b/src/gui/npcpostdialog.cpp
@@ -42,7 +42,7 @@ NpcPostDialog::NpcPostDialog(const int npcId):
Window(_("NPC"), false, nullptr, "npcpost.xml"),
gcn::ActionListener(),
mNpcId(npcId),
- mText(new TextBox),
+ mText(new TextBox(this)),
mSender(new TextField(this))
{
setContentSize(400, 180);