fix compiling error on linux
Merge pull request #5710 from minggo/master-fix

fix compiling error on linux
Update enum values of ListView and the related test case
Merge branch 'master' of https://github.com/cocos2d/cocos2d-x into master_armature