cocos2d/cocos2d-x — pull request #7592 by dzl-ian (2014-07-25 07:59:49+00:00)
Title: Add code to change press state of widgets

UIButton class has onPressStateChanged methods that would never actually be called.
Fixed the setEnabled function in the UI Widget base so that these methods are called.
No other Widget classes override setEnabled so this shouldn't introduce any other issues.