aboutsummaryrefslogtreecommitdiff
path: root/gui/chooser.cpp
diff options
context:
space:
mode:
authorTorbjörn Andersson2005-05-20 15:03:26 +0000
committerTorbjörn Andersson2005-05-20 15:03:26 +0000
commit801db4a5159728619d502ade157f81615ba93375 (patch)
tree0aa875e4e4df3fa17bf0f8553ef3ad9d0841af0b /gui/chooser.cpp
parent5eaedacce643c6a2e5a77d39fa61b8b4c67566b6 (diff)
downloadscummvm-rg350-801db4a5159728619d502ade157f81615ba93375.tar.gz
scummvm-rg350-801db4a5159728619d502ade157f81615ba93375.tar.bz2
scummvm-rg350-801db4a5159728619d502ade157f81615ba93375.zip
Added big editable text widget, and removed some cruft. I think this means
that all our widgets are able to scale themselves now, but I could be mistaken. svn-id: r18192
Diffstat (limited to 'gui/chooser.cpp')
-rw-r--r--gui/chooser.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/gui/chooser.cpp b/gui/chooser.cpp
index 429d60b171..291e927255 100644
--- a/gui/chooser.cpp
+++ b/gui/chooser.cpp
@@ -39,8 +39,8 @@ ChooserDialog::ChooserDialog(const String &title, const String &buttonLabel, int
_list->setNumberingMode(kListNumberingOff);
// Buttons
- addButton(_w - 2 * (kButtonWidth + 10), _h - 24, "Cancel", kCloseCmd, 0);
- _chooseButton = addButton(_w-(kButtonWidth + 10), _h - 24, buttonLabel, kChooseCmd, 0);
+ addButton(this, _w - 2 * (kButtonWidth + 10), _h - 24, "Cancel", kCloseCmd, 0);
+ _chooseButton = addButton(this, _w-(kButtonWidth + 10), _h - 24, buttonLabel, kChooseCmd, 0);
_chooseButton->setEnabled(false);
}