Added way to specify in generic tree control

if the drop effect (a line) should be drawn
   above or below the item.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31289 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robert Roebling
2005-01-07 22:31:42 +00:00
parent daa7ae0c30
commit e3d64157d7
2 changed files with 8 additions and 1 deletions

View File

@@ -105,6 +105,9 @@ public:
virtual void AssignStateImageList(wxImageList *imageList);
virtual void AssignButtonsImageList(wxImageList *imageList);
virtual void SetDropEffectAboveItem( bool above = false ) { m_dropEffectAboveItem = above; }
virtual bool GetDropEffectAboveItem() const { return m_dropEffectAboveItem; }
// Functions to work with tree ctrl items.
// accessors
@@ -446,6 +449,8 @@ protected:
// incremental search data
wxString m_findPrefix;
wxTimer *m_findTimer;
bool m_dropEffectAboveItem;
// the common part of all ctors
void Init();