X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/dec7b5a8085402c3b170d49f838086c4271d6017..66ddc77b88bb674c8112d5016731e60d9dd6f4a0:/src/gtk/listbox.cpp diff --git a/src/gtk/listbox.cpp b/src/gtk/listbox.cpp index 0a266f5376..1bad9b14d7 100644 --- a/src/gtk/listbox.cpp +++ b/src/gtk/listbox.cpp @@ -280,7 +280,7 @@ static gint gtk_listbox_sort_callback(GtkTreeModel * WXUNUSED(model), //We compare collate keys here instead of calling g_utf8_collate //as it is rather slow (and even the docs reccommend this) int ret = strcmp(gtk_tree_entry_get_collate_key(entry), - gtk_tree_entry_get_collate_key(entry2)); + gtk_tree_entry_get_collate_key(entry2)) >= 0; g_object_unref (entry); g_object_unref (entry2);