X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/9c67cbec021bf8d96c428b9f376b08a851c0864b..5a32e18214d39968e22bd46ade02bd2bcb29458d:/wxPython/demo/Main.py?ds=inline diff --git a/wxPython/demo/Main.py b/wxPython/demo/Main.py index bfaff9c5eb..fd626ec8be 100644 --- a/wxPython/demo/Main.py +++ b/wxPython/demo/Main.py @@ -153,7 +153,6 @@ _treeList = [ 'wxStaticBitmap', 'wxStatusBar', 'wxTextCtrl', - 'wxTimer', 'wxToggleButton', 'wxToolBar', 'wxTreeCtrl', @@ -248,12 +247,6 @@ _treeList = [ ('Check out the samples dir too', [ ]), - #~ ('Cool Contribs', [ - #~ 'pyTree', - #~ 'hangman', - #'SlashDot', - #~ 'XMLtreeview' - #~ ]), ] @@ -485,7 +478,7 @@ class wxPythonDemo(wxFrame): pt = event.GetPosition(); item, flags = self.tree.HitTest(pt) if item == self.tree.GetSelection(): - self.SetOverview(self.tree.GetItemText(item), self.curOverview) + self.SetOverview(self.tree.GetItemText(item)+" Overview", self.curOverview) event.Skip() #--------------------------------------------- @@ -530,8 +523,9 @@ class wxPythonDemo(wxFrame): self.window = module.runTest(self, self.nb, self) ### if self.window: self.nb.AddPage(self.window, 'Demo') - wxYield() + #wxYield() TODO: Is this still needed? self.nb.SetSelection(2) + self.nb.Refresh() # without this wxMac has troubles showing the just added page else: self.ovr.SetPage("")