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:
@@ -1113,7 +1113,7 @@ class ButtonInfo(Control):
|
|||||||
if alignment == self._textAlignment:
|
if alignment == self._textAlignment:
|
||||||
return
|
return
|
||||||
|
|
||||||
self._alignment = alignment
|
self._textAlignment = alignment
|
||||||
|
|
||||||
|
|
||||||
def GetToggled(self):
|
def GetToggled(self):
|
||||||
|
@@ -3443,7 +3443,7 @@ class CustomTreeCtrl(wx.PyScrolledWindow):
|
|||||||
if not item:
|
if not item:
|
||||||
raise "\nERROR: Invalid Tree 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)
|
self.Expand(item)
|
||||||
if not self.IsExpanded(item):
|
if not self.IsExpanded(item):
|
||||||
return
|
return
|
||||||
|
Reference in New Issue
Block a user