summaryrefslogtreecommitdiff
path: root/src/gui/okdialog.cpp
diff options
context:
space:
mode:
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);