cocos2d/cocos2d-iphone — pull request #223 by YannickL (2012-07-26 12:10:04+00:00)
Title: [FIX] CCMenuItemToggle - Tags of children were modified by the component

Hi,

Today an user has noticed an issue for the CCMenuItemToggle on StackOverFlow: http://stackoverflow.com/questions/11644584/ccmenuitems-loose-tags/11665881#11665881.

It appears that the CCMenuItemToggle erase the tags of the items when we put them as children of the toggle.
So I have fixed this problem by keeping into reference the displayed item instead of changing its tag.

I hope it'll help you.

Best,
Yannick