]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/generic/treectlg.h
optimizing gauge cpu usage
[wxWidgets.git] / include / wx / generic / treectlg.h
index 6bd96cf472186e3846346c3a60f61077e57974a8..82dcaa849d7d6de73f55933917293ba92773180d 100644 (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();