]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/demo/SplitTree.py
add support for wxCONTROL_ISDEFAULT to wxRendererMSW::DrawPushButton() (modified...
[wxWidgets.git] / wxPython / demo / SplitTree.py
index bf88d3a60d9dada4aa8555cbb41706cd7fa232c3..3356ad2f3bfb7b680dd16303b5a6005675a209b6 100644 (file)
@@ -16,7 +16,6 @@
 import  wx
 import  wx.gizmos as gizmos
 
-import  images
 
 #----------------------------------------------------------------------
 
@@ -27,8 +26,8 @@ class TestTree(gizmos.RemotelyScrolledTreeCtrl):
         # make an image list
         im1 = im2 = -1
         self.il = wx.ImageList(16, 16)
-        im1 = self.il.Add(images.getFolder1Bitmap())
-        im2 = self.il.Add(images.getFile1Bitmap())
+        im1 = self.il.Add(wx.ArtProvider.GetBitmap(wx.ART_FOLDER, wx.ART_TOOLBAR, (16,16)))
+        im2 = self.il.Add(wx.ArtProvider.GetBitmap(wx.ART_NORMAL_FILE, wx.ART_TOOLBAR, (16,16)))
         self.SetImageList(self.il)
 
         # Add some items