- wxCHECK_MSG( m_widget != NULL, _T(""), _T("invalid choice") );
-
- GtkLabel *label = GTK_LABEL( GTK_BUTTON(m_widget)->child );
-
- wxASSERT_MSG( label != NULL , _T("wxChoice: invalid label") );
-
- return wxString(label->label,*wxConv_current);
-}
-
-int wxChoice::Number() const
-{
- wxCHECK_MSG( m_widget != NULL, 0, _T("invalid choice") );