backport of XRCed changes from today

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45726 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn
2007-05-01 06:03:28 +00:00
parent 3f4ec51e47
commit c3e1d30aea
6 changed files with 45 additions and 11 deletions

View File

@@ -1101,6 +1101,10 @@ Homepage: http://xrced.sourceforge.net\
print msg
def OnCreate(self, evt):
# Ignore fake events generated while dragging
if g.tools.drag:
g.tools.drag = False
return
selected = tree.selection
if tree.ctrl: appendChild = False
else: appendChild = not tree.NeedInsert(selected)