X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/6999b0d8e9740918ed66bff0ee6fe147b6367a97..13b59a33b43aca6ce874ce62c6f30a24e5800b15:/utils/wxPython/demo/Main.py diff --git a/utils/wxPython/demo/Main.py b/utils/wxPython/demo/Main.py index d9483a9e51..c9d1c047c9 100644 --- a/utils/wxPython/demo/Main.py +++ b/utils/wxPython/demo/Main.py @@ -22,14 +22,14 @@ _useNestedSplitter = true _treeList = [ ('New since last release', ['wxMVCTree', 'wxVTKRenderWindow', - 'FileBrowseButton', #'wxToggleButton', - 'GenericButtons']), + 'FileBrowseButton', 'GenericButtons', + 'wxMask', 'wxEditor']), ('Managed Windows', ['wxFrame', 'wxDialog', 'wxMiniFrame']), ('Non-Managed Windows', ['wxGrid', 'wxSashWindow', 'wxScrolledWindow', 'wxSplitterWindow', - 'wxStatusBar', 'wxToolBar', 'wxNotebook', + 'wxStatusBar', 'wxNotebook', 'wxHtmlWindow']), ('Common Dialogs', ['wxColourDialog', 'wxDirDialog', 'wxFileDialog', @@ -40,20 +40,20 @@ _treeList = [ ('Controls', ['wxButton', 'wxCheckBox', 'wxCheckListBox', 'wxChoice', 'wxComboBox', 'wxGauge', 'wxListBox', 'wxListCtrl', 'wxTextCtrl', 'wxTreeCtrl', 'wxSpinButton', 'wxStaticText', 'wxStaticBitmap', - 'wxRadioBox', 'wxSlider', #'wxToggleButton' + 'wxRadioBox', 'wxSlider', 'wxToolBar', #'wxToggleButton' ]), ('Window Layout', ['wxLayoutConstraints', 'Sizers', 'OldSizers']), ('Miscellaneous', [ 'DragAndDrop', 'CustomDragAndDrop', 'FontEnumerator', 'wxTimer', 'wxValidator', 'wxGLCanvas', 'DialogUnits', - 'wxImage', 'PrintFramework', 'wxOGL', 'PythonEvents', - 'Threads']), + 'wxImage', 'wxMask', 'PrintFramework', 'wxOGL', + 'PythonEvents', 'Threads']), ('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: