Merge pull request #7729 from andyque/fixCascadedColor

fixed Widget's Children reload textures change RGBA issue
add missed CC_DLL for cocos2dVersion function
Merge pull request #7731 from dabingnn/v3_add_CC_DLL_For_cocos2dVersion

add missed CC_DLL for cocos2dVersion function