GtkAllocation * alloc,
wxRadioBox *win )
{
- unsigned int n = 0;
for ( wxRadioBoxButtonsInfoList::compatibility_iterator node = win->m_buttonsInfo.GetFirst();
node;
- node = node->GetNext(), n++ )
+ node = node->GetNext())
{
- if( widget == GTK_WIDGET(node->GetData()->button) )
+ if (widget == GTK_WIDGET(node->GetData()->button))
{
const wxPoint origin = win->GetPosition();
wxRect rect = wxRect( alloc->x - origin.x, alloc->y - origin.y,
for ( wxRadioBoxButtonsInfoList::compatibility_iterator
node = m_buttonsInfo.GetFirst(); node; node = node->GetNext(), n++ )
{
- if ( m_buttonsInfo[n]->rect.Inside(pt) )
+ if ( m_buttonsInfo[n]->rect.Contains(pt) )
return n;
}