diff options
author | Max Horn | 2002-09-28 19:25:09 +0000 |
---|---|---|
committer | Max Horn | 2002-09-28 19:25:09 +0000 |
commit | 94b55db8215e709a40cc562df3d8e1540e6b5174 (patch) | |
tree | 27c59541d7f9dc98f8af3635aff2fbe6ffe5c51e /gui | |
parent | 9dc5fe2a1dc4196d5785b484bfb1a96d33d732e8 (diff) | |
download | scummvm-rg350-94b55db8215e709a40cc562df3d8e1540e6b5174.tar.gz scummvm-rg350-94b55db8215e709a40cc562df3d8e1540e6b5174.tar.bz2 scummvm-rg350-94b55db8215e709a40cc562df3d8e1540e6b5174.zip |
patch #612722: MI2 NewGui title fix
svn-id: r5030
Diffstat (limited to 'gui')
-rw-r--r-- | gui/dialog.cpp | 2 | ||||
-rw-r--r-- | gui/dialog.h | 2 |
2 files changed, 2 insertions, 2 deletions
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 |