]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/demo/Main.py
Some tweaks and cleanup.
[wxWidgets.git] / wxPython / demo / Main.py
index f78f494f19bb46c4f55237fe9f0ecafe03ed675e..6ab783ec33b08fa8025ef982a36fdcb2241ab660 100644 (file)
@@ -22,7 +22,8 @@ import images
 
 
 _treeList = [
-    ('New since last release', ['ColourSelect', 'ImageBrowser',
+    ('New since last release', ['ColourSelect', 'ImageBrowser', 'infoframe',
+                                'ColourDB',
                                 ]),
 
     ('Managed Windows', ['wxFrame', 'wxDialog', 'wxMiniFrame']),
@@ -77,7 +78,14 @@ class wxPythonDemo(wxFrame):
         self.cwd = os.getcwd()
         self.curOverview = ""
 
-        icon = wxIconFromXPMData(images.getMondrianData())
+        if 1:
+            icon = wxIconFromXPMData(images.getMondrianData())
+        else:
+            # another way to do it
+            bmp = images.getMondrianBitmap()
+            icon = wxEmptyIcon()
+            icon.CopyFromBitmap(bmp)
+
         self.SetIcon(icon)
 
         if wxPlatform == '__WXMSW__':