Fixes from Andrea
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42321 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -3443,7 +3443,7 @@ class CustomTreeCtrl(wx.PyScrolledWindow):
|
||||
if not item:
|
||||
raise "\nERROR: Invalid Tree Item. "
|
||||
|
||||
if not self.HasFlag(TR_HIDE_ROOT) or item != GetRootItem():
|
||||
if not self.HasFlag(TR_HIDE_ROOT) or item != self.GetRootItem():
|
||||
self.Expand(item)
|
||||
if not self.IsExpanded(item):
|
||||
return
|
||||
|
Reference in New Issue
Block a user