X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/2481a3763b80b30e97a949859dfacb461ed65a6d..68673975c6ab56fa5798fcf833dda4597ca1a86a:/wxPython/demo/SplitTree.py diff --git a/wxPython/demo/SplitTree.py b/wxPython/demo/SplitTree.py index ee6b5f1321..b87f9912a5 100644 --- a/wxPython/demo/SplitTree.py +++ b/wxPython/demo/SplitTree.py @@ -9,12 +9,14 @@ class TestTree(wxRemotelyScrolledTreeCtrl): def __init__(self, parent, ID, pos=wxDefaultPosition, size=wxDefaultSize, style=wxTR_HAS_BUTTONS): wxRemotelyScrolledTreeCtrl.__init__(self, parent, ID, pos, size, style) - self.SetBackgroundColour("LIGHT BLUE") + ##self.SetBackgroundColour("LIGHT BLUE") # make an image list - self.il = wxImageList(16, 16) - im1 = self.il.AddIcon(wxIconFromXPMData(images.getFolder1Data())) - im2 = self.il.AddIcon(wxIconFromXPMData(images.getFile1Data())) + im1 = im2 = -1 + ##self.il = wxImageList(16, 16) + ##im1 = self.il.Add(images.getFolder1Bitmap()) + ##im2 = self.il.Add(images.getFile1Bitmap()) + ##self.SetImageList(self.il) # Add some items root = self.AddRoot("Root")