]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk/listbox.cpp
missing reversed orientation assignments
[wxWidgets.git] / src / gtk / listbox.cpp
index a6ec6583647beaf0a500ec95fa39e7f5eefe4921..6c63afc9a5d62d9c0d9809b76551ccf7eaa4fa16 100644 (file)
@@ -516,7 +516,7 @@ void wxListBox::GtkInsertItems(const wxArrayString& items,
         wxString label = items[i];
 
         GtkTreeEntry* entry = gtk_tree_entry_new();
-        gtk_tree_entry_set_label(entry, wxConvUTF8.cWX2MB(label));
+        gtk_tree_entry_set_label(entry, wxGTK_CONV(label));
         gtk_tree_entry_set_destroy_func(entry,
                 (GtkTreeEntryDestroy)gtk_tree_entry_destroy_cb,
                             this);