From: Robin Dunn Date: Fri, 30 Nov 2001 23:18:30 +0000 (+0000) Subject: Tweaking this demo a bit X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/68673975c6ab56fa5798fcf833dda4597ca1a86a Tweaking this demo a bit git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12778 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- 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")