Extended "Delete" functions

This commit is contained in:
YuSanka 2018-05-30 00:36:44 +02:00
parent db7c58009c
commit 5c4c912132
3 changed files with 48 additions and 12 deletions

View file

@ -195,7 +195,7 @@ public:
m_container = true;
m_children.Add(child);
}
unsigned int GetChildCount() const
size_t GetChildCount() const
{
return m_children.GetCount();
}
@ -219,6 +219,7 @@ public:
void Add(wxString &name);
void AddChild(const wxDataViewItem &parent_item, wxString &name);
void Delete(const wxDataViewItem &item);
bool IsEmpty() { return m_objects.empty(); }
// helper method for wxLog