diff options
author | Björn Steinbrink <B.Steinbrink@gmx.de> | 2005-10-20 09:01:12 +0000 |
---|---|---|
committer | Björn Steinbrink <B.Steinbrink@gmx.de> | 2005-10-20 09:01:12 +0000 |
commit | 5acb9213cc2ee949a252a5c08a9a9a13542b94d5 (patch) | |
tree | 40d29fd38eeb692ec948c69f15f5ca27067fa7fb /src/gui/confirm_dialog.cpp | |
parent | 2415d3b14cdec975a28ccef46d5234f70b06d3b0 (diff) | |
download | mana-5acb9213cc2ee949a252a5c08a9a9a13542b94d5.tar.gz mana-5acb9213cc2ee949a252a5c08a9a9a13542b94d5.tar.bz2 mana-5acb9213cc2ee949a252a5c08a9a9a13542b94d5.tar.xz mana-5acb9213cc2ee949a252a5c08a9a9a13542b94d5.zip |
Various cleanups and refactorisations.
Diffstat (limited to 'src/gui/confirm_dialog.cpp')
-rw-r--r-- | src/gui/confirm_dialog.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gui/confirm_dialog.cpp b/src/gui/confirm_dialog.cpp index 7e1ef983..dc710961 100644 --- a/src/gui/confirm_dialog.cpp +++ b/src/gui/confirm_dialog.cpp @@ -45,9 +45,9 @@ ConfirmDialog::ConfirmDialog(Window *parent, const std::string &title, void ConfirmDialog::init(const std::string &msg, gcn::ActionListener *listener) { - userLabel = new gcn::Label(msg); - yesButton = new Button("Yes"); - noButton = new Button("No"); + gcn::Label *userLabel = new gcn::Label(msg); + Button *yesButton = new Button("Yes"); + Button *noButton = new Button("No"); int w = userLabel->getWidth() + 20; int inWidth = yesButton->getWidth() + noButton->getWidth() + 5; |