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:
parent
18fc605924
commit
2356118e69
@ -1113,7 +1113,7 @@ class ButtonInfo(Control):
|
||||
if alignment == self._textAlignment:
|
||||
return
|
||||
|
||||
self._alignment = alignment
|
||||
self._textAlignment = alignment
|
||||
|
||||
|
||||
def GetToggled(self):
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user