]> git.saurik.com Git - wxWidgets.git/commitdiff
added wxCURSOR_DEFAULT to others (not GTK only), hide the current selection in
authorVadim Zeitlin <vadim@wxwidgets.org>
Mon, 21 Feb 2000 14:35:44 +0000 (14:35 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Mon, 21 Feb 2000 14:35:44 +0000 (14:35 +0000)
the tree ctrl during dnd

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6177 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

include/wx/gdicmn.h
include/wx/generic/treectrl.h

index 5923c48fbfa2417983877678c6942280cd4df223..f78f14eb95d92e423c9857203bd590ff8e5b4bd9 100644 (file)
@@ -126,6 +126,10 @@ enum wxStockCursor
     wxCURSOR_MAX
 };
 
+#ifndef __WXGTK__
+    #define wxCURSOR_DEFAULT wxCURSOR_ARROW
+#endif
+
 // ---------------------------------------------------------------------------
 // macros
 // ---------------------------------------------------------------------------
index 0ba451513cf491ab7fb74a5bd891a5366bcbabc2..7d1dd7e39de669a3c05071135d9366d5e602eaa2 100644 (file)
@@ -403,6 +403,8 @@ protected:
     wxPoint              m_dragStart;
     bool                 m_isDragging; // true between BEGIN/END drag events
     wxGenericTreeItem   *m_dropTarget;
+    wxCursor             m_oldCursor;  // cursor is changed while dragging
+    wxGenericTreeItem   *m_oldSelection;
 
     wxTimer             *m_renameTimer;
     bool                 m_renameAccept;