]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/demo/Main.py
simpler fix for rendering bug fixed in previous revision
[wxWidgets.git] / wxPython / demo / Main.py
index b06f4da5c9e08073126e472fc37d46104f566b0a..82736b72fe896df64a2fc7217c99d066317feb3a 100644 (file)
@@ -35,6 +35,8 @@ _treeList = [
         'wxMenu',
         'wxIEHtmlWin',
         'wxKeyEvents',
+        'wxWizard',
+        'wxXmlResourceHandler',
         ]),
 
     # managed windows == things with a caption you can close
@@ -43,6 +45,7 @@ _treeList = [
         'wxFrame',
         'wxMDIWindows',
         'wxMiniFrame',
+        'wxWizard',
         ]),
 
     # the common dialogs
@@ -60,7 +63,7 @@ _treeList = [
         'wxTextEntryDialog',
         ]),
 
-    # dialogs form libraries
+    # dialogs from libraries
     ('More Dialogs', [
         'ErrorDialogs',
         'ImageBrowser',
@@ -136,7 +139,8 @@ _treeList = [
         'ScrolledPanel',
         'Sizers',
         'wxLayoutConstraints',
-        'XML_Resource',
+        'wxXmlResource',
+        'wxXmlResourceHandler',
         ]),
 
     # ditto
@@ -306,8 +310,8 @@ class wxPythonDemo(wxFrame):
         self.treeMap = {}
         self.tree = wxTreeCtrl(splitter, tID,
                                style=wxTR_HAS_BUTTONS |
-                               wxTR_EDIT_LABELS |
-                               wxTR_HAS_VARIABLE_ROW_HEIGHT)
+                               wxTR_HAS_VARIABLE_ROW_HEIGHT
+                               )
 
         #self.tree.SetBackgroundColour(wxNamedColour("Pink"))
         root = self.tree.AddRoot("wxPython Overview")