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:
Robin Dunn 2006-10-24 01:29:47 +00:00
parent 18fc605924
commit 2356118e69
2 changed files with 2 additions and 2 deletions

View File

@ -1113,7 +1113,7 @@ class ButtonInfo(Control):
if alignment == self._textAlignment:
return
self._alignment = alignment
self._textAlignment = alignment
def GetToggled(self):

View File

@ -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