X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/03966fcb3f5aeea7d8e6652d40e6804811a785d8..702f5349c6468baae69ce6b7b2c780c3be57ee7c:/include/wx/msw/treectrl.h?ds=inline diff --git a/include/wx/msw/treectrl.h b/include/wx/msw/treectrl.h index ad8d31210d..60abe8cbf8 100644 --- a/include/wx/msw/treectrl.h +++ b/include/wx/msw/treectrl.h @@ -242,8 +242,10 @@ private: // the common part of all ctors void Init(); - // helper functions + // helper functions: DoGetItem() doesn't work for hidden virtual root item + // while DoGetPossiblyRootItem() does bool DoGetItem(wxTreeViewItem *tvItem) const; + bool DoGetPossiblyRootItem(wxTreeViewItem *tvItem) const; void DoSetItem(wxTreeViewItem *tvItem); void DoExpand(const wxTreeItemId& item, int flag);