From: Robin Dunn Date: Tue, 24 Oct 2006 01:29:47 +0000 (+0000) Subject: Fixes from Andrea X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/2356118e69003597d7293242b48487d8354dd598 Fixes from Andrea git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42321 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/wxPython/wx/lib/buttonpanel.py b/wxPython/wx/lib/buttonpanel.py index 872ef93822..a31eb08718 100644 --- a/wxPython/wx/lib/buttonpanel.py +++ b/wxPython/wx/lib/buttonpanel.py @@ -1113,7 +1113,7 @@ class ButtonInfo(Control): if alignment == self._textAlignment: return - self._alignment = alignment + self._textAlignment = alignment def GetToggled(self): diff --git a/wxPython/wx/lib/customtreectrl.py b/wxPython/wx/lib/customtreectrl.py index 34a79ba748..75d792258c 100644 --- a/wxPython/wx/lib/customtreectrl.py +++ b/wxPython/wx/lib/customtreectrl.py @@ -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