if ( !wxControl::Create( parent, id, pos, size, style, validator, name ) )
return false;
- m_label = label;
+ m_labelOrig = m_label = label;
Rect bounds = wxMacGetBoundsForControl( this, pos, size );
wxRadioButton *wxRadioButton::AddInCycle(wxRadioButton *cycle)
{
- wxRadioButton *next, *current;
+ wxRadioButton *current;
if (cycle == NULL)
{
else
{
current = cycle;
- while ((next = current->m_cycle) != cycle)
+ while (current->m_cycle != cycle)
current = current->m_cycle;
m_cycle = cycle;