diff options
author | Torbjörn Andersson | 2005-05-20 15:03:26 +0000 |
---|---|---|
committer | Torbjörn Andersson | 2005-05-20 15:03:26 +0000 |
commit | 801db4a5159728619d502ade157f81615ba93375 (patch) | |
tree | 0aa875e4e4df3fa17bf0f8553ef3ad9d0841af0b /gui/message.cpp | |
parent | 5eaedacce643c6a2e5a77d39fa61b8b4c67566b6 (diff) | |
download | scummvm-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/message.cpp')
-rw-r--r-- | gui/message.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gui/message.cpp b/gui/message.cpp index 68378d1ac7..5185cb4cbf 100644 --- a/gui/message.cpp +++ b/gui/message.cpp @@ -100,10 +100,10 @@ MessageDialog::MessageDialog(const Common::String &message, const char *defaultB } if (defaultButton) - addButton(okButtonPos, _h - buttonHeight - 8, defaultButton, kOkCmd, '\n', ws); // Confirm dialog + addButton(this, okButtonPos, _h - buttonHeight - 8, defaultButton, kOkCmd, '\n', ws); // Confirm dialog if (altButton) - addButton(cancelButtonPos, _h - buttonHeight - 8, altButton, kCancelCmd, '\27', ws); // Cancel dialog + addButton(this, cancelButtonPos, _h - buttonHeight - 8, altButton, kCancelCmd, '\27', ws); // Cancel dialog } void MessageDialog::handleCommand(CommandSender *sender, uint32 cmd, uint32 data) { |