aboutsummaryrefslogtreecommitdiff
path: root/engines/wintermute/ui/ui_button.h
diff options
context:
space:
mode:
Diffstat (limited to 'engines/wintermute/ui/ui_button.h')
-rw-r--r--engines/wintermute/ui/ui_button.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/wintermute/ui/ui_button.h b/engines/wintermute/ui/ui_button.h
index 9342f766cc..93333a2534 100644
--- a/engines/wintermute/ui/ui_button.h
+++ b/engines/wintermute/ui/ui_button.h
@@ -69,7 +69,7 @@ public:
virtual bool saveAsText(BaseDynamicBuffer *buffer, int indent);
// scripting interface
- virtual ScValue *scGetProperty(const char *name);
+ virtual ScValue *scGetProperty(const Common::String &name);
virtual bool scSetProperty(const char *name, ScValue *value);
virtual bool scCallMethod(ScScript *script, ScStack *stack, ScStack *thisStack, const char *name);
virtual const char *scToString();