fix lua ui binding compile error

This commit is contained in:
andyque 2014-06-23 14:56:41 +08:00
parent c9bcbfb265
commit 93319f3a3b
1 changed files with 1 additions and 1 deletions

View File

@ -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);
});