cocos2d/cocos2d-x — pull request #7560 by Mazyod (2014-07-22 23:44:37+00:00)
Title: [FIX]: make sure parent is visible before handling touch

Context:

After having issues with a `TableView` instance receiving touches even though the parent is not visible, I found some code in the `Menu` class that checks if parent is visible before handling touches, so I ported that code to the `TableView` class.