summaryrefslogtreecommitdiff
path: root/src/gui/okdialog.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/okdialog.cpp
parent015b14f8e60d64da2999da9c753af62ec1ffdf72 (diff)
downloadmanaverse-4f20c92940b9cbb8e87d0765860a81eb3f7d2733.tar.gz
manaverse-4f20c92940b9cbb8e87d0765860a81eb3f7d2733.tar.bz2
manaverse-4f20c92940b9cbb8e87d0765860a81eb3f7d2733.tar.xz
manaverse-4f20c92940b9cbb8e87d0765860a81eb3f7d2733.zip
Add palette inheritance to textbox class.
Diffstat (limited to 'src/gui/okdialog.cpp')
-rw-r--r--src/gui/okdialog.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/okdialog.cpp b/src/gui/okdialog.cpp
index 680cdfbad..1eda1d8c9 100644
--- a/src/gui/okdialog.cpp
+++ b/src/gui/okdialog.cpp
@@ -41,7 +41,7 @@ OkDialog::OkDialog(const std::string &title, const std::string &msg,
const int minWidth) :
Window(title, modal, parent, "ok.xml"),
gcn::ActionListener(),
- mTextBox(new TextBox)
+ mTextBox(new TextBox(this))
{
mTextBox->setEditable(false);
mTextBox->setOpaque(false);