X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/0bdca46de421bf31395019709422e4a5044a6e31..5a32e18214d39968e22bd46ade02bd2bcb29458d:/wxPython/demo/Main.py diff --git a/wxPython/demo/Main.py b/wxPython/demo/Main.py index 89372d40b9..fd626ec8be 100644 --- a/wxPython/demo/Main.py +++ b/wxPython/demo/Main.py @@ -153,7 +153,6 @@ _treeList = [ 'wxStaticBitmap', 'wxStatusBar', 'wxTextCtrl', - 'wxTimer', 'wxToggleButton', 'wxToolBar', 'wxTreeCtrl', @@ -524,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("")