GTK_COMBO_BOX -> GTK_COMBO_BOX_TEXT

This commit is contained in:
Garux
2020-05-21 19:18:51 +03:00
parent f14722d36f
commit ded059f817
5 changed files with 46 additions and 53 deletions

View File

@@ -486,11 +486,11 @@ void Dialog::addCombo( GtkWidget* vbox, const char* name, StringArrayRange value
GtkWidget* alignment = gtk_alignment_new( 0.0, 0.5, 0.0, 0.0 );
gtk_widget_show( alignment );
{
GtkWidget* combo = gtk_combo_box_new_text();
GtkWidget* combo = gtk_combo_box_text_new();
for ( StringArrayRange::Iterator i = values.first; i != values.last; ++i )
{
gtk_combo_box_append_text( GTK_COMBO_BOX( combo ), *i );
gtk_combo_box_text_append_text( GTK_COMBO_BOX_TEXT( combo ), *i );
}
AddIntComboData( *GTK_COMBO_BOX( combo ), importViewer, exportViewer );