diff options
author | chai <chaifix@163.com> | 2021-10-22 09:23:08 +0800 |
---|---|---|
committer | chai <chaifix@163.com> | 2021-10-22 09:23:08 +0800 |
commit | 1f18d2afec632aa9361079ca3bcb5a7f2d73db3a (patch) | |
tree | dab695a32735d1f19ae74ea7e7d094371531dde8 /Editor/Scripting/EditorGUI/GUIWindow.bind.cpp | |
parent | 998a13b08c43b0813d1d4d38692ea7f8bd31c936 (diff) |
*misc
Diffstat (limited to 'Editor/Scripting/EditorGUI/GUIWindow.bind.cpp')
-rw-r--r-- | Editor/Scripting/EditorGUI/GUIWindow.bind.cpp | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/Editor/Scripting/EditorGUI/GUIWindow.bind.cpp b/Editor/Scripting/EditorGUI/GUIWindow.bind.cpp index 50acf44..78ea635 100644 --- a/Editor/Scripting/EditorGUI/GUIWindow.bind.cpp +++ b/Editor/Scripting/EditorGUI/GUIWindow.bind.cpp @@ -7,7 +7,8 @@ LUA_BIND_REGISTRY(GUIWindow) { "Focus", _Focus }, { "SetContainerWindow", _SetContainerWindow }, { "SetPosition", _SetPosition }, - { "New", _New } + { "New", _New }, + { "__gc", _GC } ); } @@ -15,6 +16,13 @@ LUA_BIND_POSTPROCESS(GUIWindow) { } +LUA_BIND_IMPL_METHOD(GUIWindow, _GC) +{ + LUA_BIND_PREPARE(L, GUIWindow); + + return 0; +} + LUA_BIND_IMPL_METHOD(GUIWindow, _DoPaint) { LUA_BIND_PREPARE(L, GUIWindow); |