remove unused function GTKSetItem()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@74324 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
185ac7cbbb
commit
e59127de8b
@ -124,9 +124,6 @@ protected:
|
|||||||
// get the index for the given iterator, return wxNOT_FOUND on failure
|
// get the index for the given iterator, return wxNOT_FOUND on failure
|
||||||
int GTKGetIndexFor(_GtkTreeIter& iter) const;
|
int GTKGetIndexFor(_GtkTreeIter& iter) const;
|
||||||
|
|
||||||
// set the specified item
|
|
||||||
void GTKSetItem(_GtkTreeIter& iter, const _GtkTreeEntry *entry);
|
|
||||||
|
|
||||||
// common part of DoSetFirstItem() and EnsureVisible()
|
// common part of DoSetFirstItem() and EnsureVisible()
|
||||||
void DoScrollToCell(int n, float alignY, float alignX);
|
void DoScrollToCell(int n, float alignY, float alignX);
|
||||||
|
|
||||||
|
@ -555,23 +555,6 @@ GtkTreeEntry *wxListBox::GTKGetEntry(unsigned n) const
|
|||||||
return GetEntry(m_liststore, &iter, this);
|
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
|
// client data
|
||||||
// ----------------------------------------------------------------------------
|
// ----------------------------------------------------------------------------
|
||||||
|
Loading…
Reference in New Issue
Block a user