git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@74324
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
// get the index for the given iterator, return wxNOT_FOUND on failure
int GTKGetIndexFor(_GtkTreeIter& iter) const;
// 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);
// common part of DoSetFirstItem() and EnsureVisible()
void DoScrollToCell(int n, float alignY, float alignX);
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
// ----------------------------------------------------------------------------