MCPcopy Create free account
hub / github.com/davidgiven/fluxengine / GetParent

Method GetParent

src/gui/filesystemmodel.cc:64–71  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

62 }
63
64 wxDataViewItem GetParent(const wxDataViewItem& item) const override
65 {
66 auto node = Find(item);
67 if (!node || (node == _root))
68 return wxDataViewItem();
69
70 return Find(node->dirent->path.parent())->item;
71 }
72
73 void GetValue(wxVariant& value,
74 const wxDataViewItem& item,

Callers

nothing calls this directly

Calls 1

parentMethod · 0.80

Tested by

no test coverage detected