]> git.saurik.com Git - wxWidgets.git/commit - src/gtk/listbox.cpp
Use gtk_list_store_insert_with_values() to set entry at same time item is inserted.
authorPaul Cornett <paulcor@bullseye.com>
Mon, 1 Jul 2013 05:10:22 +0000 (05:10 +0000)
committerPaul Cornett <paulcor@bullseye.com>
Mon, 1 Jul 2013 05:10:22 +0000 (05:10 +0000)
commit8e125ff1145c4c3154a59efe3e60c58a7fd0861d
treea9b99c43ef4bb24bb479ac3342e307d8b83b1241
parentd642db66a5efc82d374b813022c72ba88bc50839
Use gtk_list_store_insert_with_values() to set entry at same time item is inserted.
This should ensure that the entry is always valid, removing the need for r74315.
Also simplify DoInsertItems() by using DoInsertItemsInLoop().

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@74317 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
include/wx/gtk/listbox.h
src/gtk/listbox.cpp
src/gtk/treeentry_gtk.c