str.SetChar( 1, check ? wxCHECKLBOX_CHECKED : wxCHECKLBOX_UNCHECKED );
- gtk_label_set( label, wxGTK_CONV( str ) );
+ gtk_label_set_text( label, wxGTK_CONV( str ) );
return;
}
#endif // wxUSE_CHECKLISTBOX
str += string;
- gtk_label_set( label, wxGTK_CONV( str ) );
+ gtk_label_set_text( label, wxGTK_CONV( str ) );
}
else
{
GtkLabel *glabel = GTK_LABEL( GTK_BIN(menu->m_owner)->child );
/* set new text */
- gtk_label_set( glabel, wxGTK_CONV( str ) );
+ gtk_label_set_text( glabel, wxGTK_CONV( str ) );
/* reparse key accel */
(void)gtk_label_parse_uline (GTK_LABEL(glabel), wxGTK_CONV( str ) );
nb_page->m_text = text;
- gtk_label_set( nb_page->m_label, wxGTK_CONV( nb_page->m_text ) );
+ gtk_label_set_text( nb_page->m_label, wxGTK_CONV( nb_page->m_text ) );
return TRUE;
}
GtkLabel *g_label = GTK_LABEL(GTK_BIN(node->GetData())->child);
- gtk_label_set( g_label, wxGTK_CONV( label ) );
+ gtk_label_set_text( g_label, wxGTK_CONV( label ) );
}
bool wxRadioBox::Enable( bool enable )
wxControl::SetLabel(label);
- gtk_label_set(GTK_LABEL(GTK_BIN(m_widget)->child), wxGTK_CONV(GetLabel()));
+ gtk_label_set_text(GTK_LABEL(GTK_BIN(m_widget)->child), wxGTK_CONV(GetLabel()));
}
bool wxToggleButton::Enable(bool enable /*=true*/)
return;
GtkLabel *l = GTK_LABEL(gtk_object_get_data(GTK_OBJECT((GtkTreeItem *)item), "w_label"));
- gtk_label_set(l, text);
+ gtk_label_set_text(l, text);
}
void wxTreeCtrl::SetItemImage(const wxTreeItemId& item, int image) {
#warning "Need to implement EndEditLabel"
/*
GtkLabel *m_label = (GtkLabel *)gtk_object_get_data(GTK_OBJECT((GtkTreeItem *)m_editItem), "w_label");
- gtk_label_set(m_label, m_textCtrl->GetValue());
+ gtk_label_set_text(m_label, m_textCtrl->GetValue());
gtk_object_remove_data(GTK_OBJECT((GtkTreeItem *)m_editItem), "w_edit");