]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/wx/py/filling.py
Factory some of wxFilterClassFactory into a base class.
[wxWidgets.git] / wxPython / wx / py / filling.py
index 56b6c7cf418246c021ac282d9473113efcd8b15f..28714bd6a54bb10c3f4bcb01b547f5413fd89076 100644 (file)
@@ -159,6 +159,8 @@ class FillingTree(wx.TreeCtrl):
 
     def display(self):
         item = self.item
+        if not item:
+            return
         if self.IsExpanded(item):
             self.addChildren(item)
         self.setText('')