aboutsummaryrefslogtreecommitdiff
path: root/gui/message.h
diff options
context:
space:
mode:
authorMax Horn2003-11-01 21:15:33 +0000
committerMax Horn2003-11-01 21:15:33 +0000
commit72bee75297bb42703c5825027cd3a4c11dd9347a (patch)
tree690e8f374bf4ff0b7b9b4f3fe3e8c93e3ac1ea66 /gui/message.h
parentf7ab7f62075107a8afbc071555b25612320664b9 (diff)
downloadscummvm-rg350-72bee75297bb42703c5825027cd3a4c11dd9347a.tar.gz
scummvm-rg350-72bee75297bb42703c5825027cd3a4c11dd9347a.tar.bz2
scummvm-rg350-72bee75297bb42703c5825027cd3a4c11dd9347a.zip
modified MessageDialog to allow for custom button texts
svn-id: r11034
Diffstat (limited to 'gui/message.h')
-rw-r--r--gui/message.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/gui/message.h b/gui/message.h
index 8635d08245..42879b84eb 100644
--- a/gui/message.h
+++ b/gui/message.h
@@ -32,7 +32,7 @@ class MessageDialog : public Dialog {
typedef Common::String String;
typedef Common::StringList StringList;
public:
- MessageDialog(NewGui *gui, const Common::String &message, bool showOKButton = true, bool showCancelButton = false);
+ MessageDialog(NewGui *gui, const Common::String &message, const char *defaultButton = "OK", const char *altButton = 0);
void handleCommand(CommandSender *sender, uint32 cmd, uint32 data);