diff options
Diffstat (limited to 'fxjs/cjs_icon.cpp')
-rw-r--r-- | fxjs/cjs_icon.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/fxjs/cjs_icon.cpp b/fxjs/cjs_icon.cpp index 2b56f70cdc..9a4b73b2d6 100644 --- a/fxjs/cjs_icon.cpp +++ b/fxjs/cjs_icon.cpp @@ -18,9 +18,8 @@ int CJS_Icon::GetObjDefnID() { // static void CJS_Icon::DefineJSObjects(CFXJS_Engine* pEngine) { - ObjDefnID = - pEngine->DefineObj("Icon", FXJSOBJTYPE_DYNAMIC, - JSConstructor<CJS_Icon, Icon>, JSDestructor<CJS_Icon>); + ObjDefnID = pEngine->DefineObj("Icon", FXJSOBJTYPE_DYNAMIC, + JSConstructor<CJS_Icon, Icon>, JSDestructor); DefineProps(pEngine, ObjDefnID, PropertySpecs, FX_ArraySize(PropertySpecs)); } |