WXLISTBOX_DATACOLUMN_ARG(listbox),
&entry, -1);
wxCHECK_MSG(entry, 0, wxT("Could not get entry"));
- gchar* keycollatekey = g_utf8_collate_key(key, -1);
+ wxGtkString keycollatekey(g_utf8_collate_key(key, -1));
int ret = strcasecmp(keycollatekey,
gtk_tree_entry_get_collate_key(entry));
- g_free(keycollatekey);
g_object_unref (entry);
return ret != 0;
{
// ... and not generate any events in the process
GtkDeselectAll();
+ return;
}
wxCHECK_RET( IsValid(n), wxT("invalid index in wxListBox::SetSelection") );