X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/cbfc9df6768069f770bf8299fc0e6f528a92d4a8..8728cae3bfe0410ddc17d8bb1fb1ce66b77a3ae9:/wxPython/demo/TreeMixin.py diff --git a/wxPython/demo/TreeMixin.py b/wxPython/demo/TreeMixin.py index 8a3245571b..059ddd6179 100644 --- a/wxPython/demo/TreeMixin.py +++ b/wxPython/demo/TreeMixin.py @@ -153,8 +153,8 @@ class VirtualCustomTreeCtrl(DemoTreeMixin, wx.lib.customtreectrl.CustomTreeCtrl): def __init__(self, *args, **kwargs): self.checked = {} - kwargs['ctstyle'] = wx.TR_DEFAULT_STYLE | wx.TR_HIDE_ROOT | \ - wx.TR_HAS_BUTTONS | wx.TR_FULL_ROW_HIGHLIGHT + kwargs['style'] = wx.TR_HIDE_ROOT | \ + wx.TR_HAS_BUTTONS | wx.TR_FULL_ROW_HIGHLIGHT super(VirtualCustomTreeCtrl, self).__init__(*args, **kwargs) self.Bind(wx.lib.customtreectrl.EVT_TREE_ITEM_CHECKED, self.OnItemChecked)