X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/185ac7cbbb881b3edb44d0e594bc6be4991baaae..e59127de8b89a377348c11ea11430a4fcbf4ff5d:/src/gtk/listbox.cpp?ds=sidebyside diff --git a/src/gtk/listbox.cpp b/src/gtk/listbox.cpp index 5f1a0ed7a1..f2717c6c82 100644 --- a/src/gtk/listbox.cpp +++ b/src/gtk/listbox.cpp @@ -555,23 +555,6 @@ GtkTreeEntry *wxListBox::GTKGetEntry(unsigned n) const return GetEntry(m_liststore, &iter, this); } -void wxListBox::GTKSetItem(GtkTreeIter& iter, const GtkTreeEntry *entry) -{ -#if wxUSE_CHECKLISTBOX - if ( m_hasCheckBoxes ) - { - gtk_list_store_set(m_liststore, &iter, - 0, FALSE, // FALSE == not toggled - 1, entry, - -1); - } - else -#endif // wxUSE_CHECKLISTBOX - { - gtk_list_store_set(m_liststore, &iter, 0, entry, -1); - } -} - // ---------------------------------------------------------------------------- // client data // ----------------------------------------------------------------------------