diff options
author | chai <chaifix@163.com> | 2019-03-29 00:43:25 +0800 |
---|---|---|
committer | chai <chaifix@163.com> | 2019-03-29 00:43:25 +0800 |
commit | f4c338c63f3456a8eccd56c35e233843687d55be (patch) | |
tree | 7278fe4723320c9ef310c5a04d92bf0be1bc778c /source/Asura.Editor/widgets/binding/_button.cpp | |
parent | 3bced067a4144381e59ce4bd0eb749eeff5ad1f4 (diff) |
*thread
Diffstat (limited to 'source/Asura.Editor/widgets/binding/_button.cpp')
-rw-r--r-- | source/Asura.Editor/widgets/binding/_button.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/Asura.Editor/widgets/binding/_button.cpp b/source/Asura.Editor/widgets/binding/_button.cpp index 463aef6..fbae64f 100644 --- a/source/Asura.Editor/widgets/binding/_button.cpp +++ b/source/Asura.Editor/widgets/binding/_button.cpp @@ -37,7 +37,7 @@ namespace AsuraEditor LUAX_STATE(L); Button* self = state.GetUserdata<Button>(1); - int msg = state.CheckParam<int>(2); + int msg = state.CheckValue<int>(2); if (!lua_isfunction(L, 3)) return state.ErrorType(3, "callback"); |