wxDataViewEvent(const wxDataViewEvent& event);
//@}
- /**
- Used to clone the event.
- */
- wxEvent* Clone() const;
-
/**
Returns the position of the column in the control or -1
if no column field was set by the event emitter.
*/
virtual void Expand(const wxDataViewItem& item);
+ /**
+ Expands all ancestors of the @a item. This method also
+ ensures that the item itself as well as all ancestor
+ items have been read from the model by the control.
+ */
+ virtual void ExpandAncestors( const wxDataViewItem & item );
+
/**
Returns pointer to the column. @a pos refers to the position in the
control which may change after reordering columns by the user.
virtual void HitTest(const wxPoint& point, wxDataViewItem& item,
wxDataViewColumn*& col) const;
+ /**
+ Return @true if the item is expanded.
+ */
+ virtual bool IsExpanded(const wxDataViewItem& item) const;
+
/**
Return @true if the item is selected.
*/
@class wxDataViewColumn
This class represents a column in a wxDataViewCtrl.
- One wxDataViewColumn is bound to one column in the data model, to which the
+ One wxDataViewColumn is bound to one column in the data model to which the
wxDataViewCtrl has been associated.
An instance of wxDataViewRenderer is used by this class to render its data.