diff options
Diffstat (limited to 'src/gui/confirmdialog.cpp')
-rw-r--r-- | src/gui/confirmdialog.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/gui/confirmdialog.cpp b/src/gui/confirmdialog.cpp index b0407572a..b3ced2cde 100644 --- a/src/gui/confirmdialog.cpp +++ b/src/gui/confirmdialog.cpp @@ -38,9 +38,10 @@ ConfirmDialog::ConfirmDialog(const std::string &title, const std::string &msg, const bool ignore, const bool modal, Window *const parent): - Window(title, modal, parent, "confirm.xml") + Window(title, modal, parent, "confirm.xml"), + ActionListener(), + mTextBox(new TextBox) { - mTextBox = new TextBox; mTextBox->setEditable(false); mTextBox->setOpaque(false); mTextBox->setTextWrapped(msg, 260); |