bool GetBold() const { return m_bold; }
bool GetItalic() const { return m_italic; }
+ bool IsDefault() const { return !(HasColour() || HasFont()); }
+
private:
wxColour m_colour;
bool m_bold;
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 );
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; }