diff options
Diffstat (limited to 'fxjs/cjs_field.cpp')
-rw-r--r-- | fxjs/cjs_field.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fxjs/cjs_field.cpp b/fxjs/cjs_field.cpp index 9138d93590..7b4c064a9e 100644 --- a/fxjs/cjs_field.cpp +++ b/fxjs/cjs_field.cpp @@ -2284,7 +2284,7 @@ CJS_Return CJS_Field::buttonGetIcon( return CJS_Return(false); v8::Local<v8::Object> pObj = - pRuntime->NewFxDynamicObj(CJS_Icon::GetObjDefnID()); + pRuntime->NewFXJSBoundObject(CJS_Icon::GetObjDefnID()); if (pObj.IsEmpty()) return CJS_Return(false); @@ -2404,7 +2404,7 @@ CJS_Return CJS_Field::getArray( int j = 0; for (const auto& pStr : swSort) { v8::Local<v8::Object> pObj = - pRuntime->NewFxDynamicObj(CJS_Field::GetObjDefnID()); + pRuntime->NewFXJSBoundObject(CJS_Field::GetObjDefnID()); if (pObj.IsEmpty()) return CJS_Return(false); |