X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/c80cde00014a3d0f21dbd24500a22b4a1f4d0208..94b6ce7f4bf371575771d229920e0ed8550a48ef:/include/wx/dataview.h diff --git a/include/wx/dataview.h b/include/wx/dataview.h index 8be8ad3dfd..f4c86ff9ee 100644 --- a/include/wx/dataview.h +++ b/include/wx/dataview.h @@ -1138,7 +1138,7 @@ public: wxDataViewItem GetNthChild( const wxDataViewItem& parent, unsigned int pos ) const; int GetChildCount( const wxDataViewItem& parent ) const; - + void SetItemText( const wxDataViewItem& item, const wxString &text ); wxString GetItemText( const wxDataViewItem& item ) const; void SetItemIcon( const wxDataViewItem& item, const wxIcon &icon ); @@ -1212,6 +1212,9 @@ public: const wxDataViewTreeStore *GetStore() const { return (const wxDataViewTreeStore*) GetModel(); } + bool IsContainer( const wxDataViewItem& item ) const + { return GetStore()->IsContainer(item); } + void SetImageList( wxImageList *imagelist ); wxImageList* GetImageList() { return m_imageList; }