summaryrefslogtreecommitdiff
path: root/src/gui/confirmdialog.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/confirmdialog.cpp')
-rw-r--r--src/gui/confirmdialog.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/confirmdialog.cpp b/src/gui/confirmdialog.cpp
index f66d44132..65fdb9fd1 100644
--- a/src/gui/confirmdialog.cpp
+++ b/src/gui/confirmdialog.cpp
@@ -40,7 +40,7 @@ ConfirmDialog::ConfirmDialog(const std::string &title, const std::string &msg,
Window *const parent):
Window(title, modal, parent, "confirm.xml"),
gcn::ActionListener(),
- mTextBox(new TextBox)
+ mTextBox(new TextBox(this))
{
mTextBox->setEditable(false);
mTextBox->setOpaque(false);