SetMajorDim( majorDim == 0 ? n : majorDim, style );
- m_label = label;
+ m_labelOrig = m_label = label;
Rect bounds = wxMacGetBoundsForControl( this, pos, size );
if ( bounds.right <= bounds.left )
wxRadioButton *radBtn = new wxRadioButton(
this,
wxID_ANY,
- wxStripMenuCodes(choices[i]),
+ GetLabelText(choices[i]),
wxPoint( 5, 20 * i + 10 ),
wxDefaultSize,
i == 0 ? wxRB_GROUP : 0 );
//
void wxRadioBox::SetFocus()
{
- int i;
wxRadioButton *current;
- i = 0;
current = m_radioButtonCycle;
while (!current->GetValue())
{
- i++;
current = current->NextInCycle();
}