_treeList = [
('New since last release', ['wxMVCTree', 'wxVTKRenderWindow',
'FileBrowseButton', 'GenericButtons',
- 'wxMask']),
+ 'wxMask', 'wxEditor']),
('Managed Windows', ['wxFrame', 'wxDialog', 'wxMiniFrame']),
('wxPython Library', ['Layoutf', 'wxScrolledMessageDialog',
'wxMultipleChoiceDialog', 'wxPlotCanvas', 'wxFloatBar',
'PyShell', 'wxCalendar', 'wxMVCTree', 'wxVTKRenderWindow',
- 'FileBrowseButton', 'GenericButtons']),
+ 'FileBrowseButton', 'GenericButtons', 'wxEditor']),
('Cool Contribs', ['pyTree', 'hangman', 'SlashDot', 'XMLtreeview']),
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:
self.nb.AddPage(self.window, 'Demo')
#self.nb.ResizeChildren()
self.nb.SetSelection(2)
+ #self.window.Refresh()
#self.nb.ResizeChildren()
#if self.window.GetAutoLayout():
# self.window.Layout()
#---------------------------------------------------------------------------
def main():
+ try:
+ demoPath = os.path.split(__file__)[0]
+ os.chdir(demoPath)
+ except:
+ pass
app = MyApp(0)
app.MainLoop()