]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/msw/treectrl.h
moved Esc processing from wxWindow to wxDialog where it belongs; use the -- to be...
[wxWidgets.git] / include / wx / msw / treectrl.h
index c315096dfd6c9e1d1a1530bf60d850b3de2453f3..24eef34157c91b13063959eacc29b0770cc85ecb 100644 (file)
@@ -41,15 +41,6 @@ struct WXDLLEXPORT wxTreeViewItem;
 // NB: all the following flags are for compatbility only and will be removed in the
 //     next versions
 
-// flags for deprecated `Expand(int action)'
-enum
-{
-    wxTREE_EXPAND_EXPAND,
-    wxTREE_EXPAND_COLLAPSE,
-    wxTREE_EXPAND_COLLAPSE_RESET,
-    wxTREE_EXPAND_TOGGLE
-};
-
 // flags for deprecated InsertItem() variant (their values are the same as of
 // TVI_FIRST and TVI_LAST)
 #define wxTREE_INSERT_FIRST 0xFFFF0001
@@ -507,7 +498,8 @@ private:
     void* m_pVirtualRoot;
 
     // the starting item for selection with Shift
-    wxTreeItemId m_htSelStart;
+    wxTreeItemId m_htSelStart, m_htClickedItem;
+    wxPoint m_ptClick;
 
     friend class wxTreeItemIndirectData;
     friend class wxTreeSortHelper;