As the source code shows, when firing a toggle event on a SegmentedButton, the only object returned is the butten, but not the SegmentedButton itself...
Change to:Code:me.fireEvent('toggle', me.pressedBtn, false);
Code:me.fireEvent('toggle', me, me.pressedBtn, false);