mirror of https://github.com/axmolengine/axmol.git
fix lua ui binding compile error
This commit is contained in:
parent
c9bcbfb265
commit
93319f3a3b
|
@ -445,7 +445,7 @@ static int lua_cocos2dx_ListView_addEventListener(lua_State* L)
|
|||
#endif
|
||||
LUA_FUNCTION handler = ( toluafix_ref_function(L,2,0));
|
||||
|
||||
self->addEventListener([=](cocos2d::Ref* ref,ListView::EventType eventType){
|
||||
self->addEventListener((ui::ListView::ccListViewCallback)[=](cocos2d::Ref* ref,ListView::EventType eventType){
|
||||
handleUIEvent(handler, ref, (int)eventType);
|
||||
});
|
||||
|
||||
|
|
Loading…
Reference in New Issue