class wxTreeItemIndirectData *data);
bool HasIndirectData(const wxTreeItemId& item) const;
bool IsDataIndirect(wxTreeItemData *data) const
- { return data->GetId().m_pItem == 0; }
+ { return data && data->GetId().m_pItem == 0; }
// the hash storing the items attributes (indexed by items ids)
wxHashTable m_attrs;
// used for dragging
wxDragImage *m_dragImage;
+ // Virtual root item, if wxTR_HIDE_ROOT is set.
+ void* m_pVirtualRoot;
+
// the starting item for selection with Shift
WXHTREEITEM m_htSelStart;