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/ok_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/ok_dialog.cpp')
-rw-r--r-- | src/gui/ok_dialog.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/ok_dialog.cpp b/src/gui/ok_dialog.cpp index 8984c213..794bc723 100644 --- a/src/gui/ok_dialog.cpp +++ b/src/gui/ok_dialog.cpp @@ -48,8 +48,8 @@ OkDialog::~OkDialog() void OkDialog::init(const std::string &msg, gcn::ActionListener *listener) { - userLabel = new gcn::Label(msg); - okButton = new Button("OK"); + gcn::Label *userLabel = new gcn::Label(msg); + Button *okButton = new Button("OK"); int w = userLabel->getWidth() + 20; int h = userLabel->getHeight() + 25 + okButton->getHeight(); |