void wxRadioBox::GTKApplyToolTip(const char* tip) { // set this tooltip for all radiobuttons which don't have their own tips unsigned n = 0; for ( wxRadioBoxButtonsInfoList::compatibility_iterator node = m_buttonsInfo.GetFirst(); node; node = node->GetNext(), n++ ) { if ( !GetItemToolTip(n) ) { wxToolTip::GTKApply(GTK_WIDGET(node->GetData()->button), tip); } } }
void wxRadioBox::ApplyToolTip(GtkTooltips * WXUNUSED(tips), const wxChar *tip) { // set this tooltip for all radiobuttons which don't have their own tips unsigned n = 0; for ( wxRadioBoxButtonsInfoList::compatibility_iterator node = m_buttonsInfo.GetFirst(); node; node = node->GetNext(), n++ ) { if ( !GetItemToolTip(n) ) { wxToolTip::Apply(GTK_WIDGET(node->GetData()->button), wxConvCurrent->cWX2MB(tip)); } } }