* bugfixes for tree move operations and undo/redo
* Mac LnF ameliorations * some sizing/spacing changes git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45870 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -1109,8 +1109,9 @@ class XML_Tree(wx.TreeCtrl):
|
||||
n = 0 # index of sibling
|
||||
prev = self.GetPrevSibling(item)
|
||||
while prev.IsOk():
|
||||
# MenuBar is not a child
|
||||
if not isinstance(self.GetPyData(prev), xxxMenuBar):
|
||||
# MenuBar and sizers are not real children (who else?)
|
||||
if not isinstance(self.GetPyData(prev), xxxMenuBar) and not \
|
||||
isinstance(self.GetPyData(prev), xxxSizer):
|
||||
n += 1
|
||||
prev = self.GetPrevSibling(prev)
|
||||
return n
|
||||
|
Reference in New Issue
Block a user