diff -r 49cdd843c006 -r 4d070115b552 controls/SearchResultPanel.py --- a/controls/SearchResultPanel.py Wed Oct 11 13:55:56 2017 +0300 +++ b/controls/SearchResultPanel.py Thu Oct 12 16:18:05 2017 +0300 @@ -315,10 +315,7 @@ text_ctrl.SetStyle(start_idx, end_idx, style) self.SearchResultsTree.SetItemWindow(root, text_ctrl) - if wx.VERSION >= (2, 6, 0): - item, root_cookie = self.SearchResultsTree.GetFirstChild(root) - else: - item, root_cookie = self.SearchResultsTree.GetFirstChild(root, 0) + item, root_cookie = self.SearchResultsTree.GetFirstChild(root) for child in infos["children"]: if item is None: item = self.SearchResultsTree.AppendItem(root, "")