From 94b55db8215e709a40cc562df3d8e1540e6b5174 Mon Sep 17 00:00:00 2001 From: Max Horn Date: Sat, 28 Sep 2002 19:25:09 +0000 Subject: patch #612722: MI2 NewGui title fix svn-id: r5030 --- gui/dialog.cpp | 2 +- gui/dialog.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'gui') diff --git a/gui/dialog.cpp b/gui/dialog.cpp index d9c25d15bb..bfddcd81cb 100644 --- a/gui/dialog.cpp +++ b/gui/dialog.cpp @@ -243,7 +243,7 @@ Widget *Dialog::findWidget(int x, int y) return w; } -void Dialog::addButton(int x, int y, int w, int h, const char *label, uint32 cmd, char hotkey) +void Dialog::addButton(int x, int y, int w, int h, const ScummVM::String &label, uint32 cmd, char hotkey) { new ButtonWidget(this, x, y, w, h, label, cmd, hotkey); } diff --git a/gui/dialog.h b/gui/dialog.h index a530a79075..c6793129ee 100644 --- a/gui/dialog.h +++ b/gui/dialog.h @@ -70,7 +70,7 @@ public: protected: Widget* findWidget(int x, int y); // Find the widget at pos x,y if any - void addButton(int x, int y, int w, int h, const char *label, uint32 cmd, char hotkey); + void addButton(int x, int y, int w, int h, const ScummVM::String &label, uint32 cmd, char hotkey); }; #endif -- cgit v1.2.3