]> git.saurik.com Git - wxWidgets.git/commitdiff
remove unused function GTKSetItem()
authorPaul Cornett <paulcor@bullseye.com>
Tue, 2 Jul 2013 16:35:43 +0000 (16:35 +0000)
committerPaul Cornett <paulcor@bullseye.com>
Tue, 2 Jul 2013 16:35:43 +0000 (16:35 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@74324 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

include/wx/gtk/listbox.h
src/gtk/listbox.cpp

index ed73ca33d8167565e30aac87bdce9fb26dcd2af0..4df8e97ecd1624332eb510c24dc18e3fe04201b4 100644 (file)
@@ -124,9 +124,6 @@ protected:
     // get the index for the given iterator, return wxNOT_FOUND on failure
     int GTKGetIndexFor(_GtkTreeIter& iter) const;
 
-    // set the specified item
-    void GTKSetItem(_GtkTreeIter& iter, const _GtkTreeEntry *entry);
-
     // common part of DoSetFirstItem() and EnsureVisible()
     void DoScrollToCell(int n, float alignY, float alignX);
 
index 5f1a0ed7a1ceed48337994289b484732f1f25a1e..f2717c6c82785b5b086caa6698e715c3384c536c 100644 (file)
@@ -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
 // ----------------------------------------------------------------------------