diff options
author | Andrei Karas <akaras@inbox.ru> | 2012-09-06 20:57:24 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2012-09-06 22:58:35 +0300 |
commit | 4ad3cd45f7a8c3f6d1817705c06223d1a2798a2f (patch) | |
tree | a776928bb1339cdd29eb2e54d50eb3fa6e3448d7 /src/gui/confirmdialog.cpp | |
parent | 22ed653d8b630c813333d5c73a4ca02dede2a5a5 (diff) | |
download | manaplus-4ad3cd45f7a8c3f6d1817705c06223d1a2798a2f.tar.gz manaplus-4ad3cd45f7a8c3f6d1817705c06223d1a2798a2f.tar.bz2 manaplus-4ad3cd45f7a8c3f6d1817705c06223d1a2798a2f.tar.xz manaplus-4ad3cd45f7a8c3f6d1817705c06223d1a2798a2f.zip |
Improve constructors in some classes.
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); |