]> git.saurik.com Git - wxWidgets.git/blobdiff - utils/wxPython/demo/Main.py
suppres some warnings, suppress assert failure for fonts
[wxWidgets.git] / utils / wxPython / demo / Main.py
index 1030ed5d7396329fe4bcc2a171f9536cfb999c48..c9d1c047c9f41a3fb15a6fe5b62ae8d7265e029e 100644 (file)
@@ -23,7 +23,7 @@ _useNestedSplitter = true
 _treeList = [
     ('New since last release', ['wxMVCTree', 'wxVTKRenderWindow',
                                 'FileBrowseButton', 'GenericButtons',
-                                'wxMask']),
+                                'wxMask', 'wxEditor']),
 
     ('Managed Windows', ['wxFrame', 'wxDialog', 'wxMiniFrame']),
 
@@ -53,7 +53,7 @@ _treeList = [
     ('wxPython Library', ['Layoutf', 'wxScrolledMessageDialog',
                           'wxMultipleChoiceDialog', 'wxPlotCanvas', 'wxFloatBar',
                           'PyShell', 'wxCalendar', 'wxMVCTree', 'wxVTKRenderWindow',
-                          'FileBrowseButton', 'GenericButtons']),
+                          'FileBrowseButton', 'GenericButtons', 'wxEditor']),
 
     ('Cool Contribs', ['pyTree', 'hangman', 'SlashDot', 'XMLtreeview']),
 
@@ -137,6 +137,7 @@ class wxPythonDemo(wxFrame):
             tID = wxNewId()
             self.treeMap = {}
             self.tree = wxTreeCtrl(splitter, tID)
+            #self.tree.SetBackgroundColour(wxNamedColour("Pink"))
             root = self.tree.AddRoot("Overview")
             firstChild = None
             for item in _treeList: