From: Robin Dunn Date: Fri, 5 Mar 2004 23:37:36 +0000 (+0000) Subject: Remove some extra Refreshes and such X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/980f458f7f034a21501d4bde7bc6f49d29a1a941?ds=inline Remove some extra Refreshes and such git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26107 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/wxPython/demo/Main.py b/wxPython/demo/Main.py index a9c4c3bdd1..b500a003a4 100644 --- a/wxPython/demo/Main.py +++ b/wxPython/demo/Main.py @@ -683,7 +683,7 @@ class wxPythonDemo(wx.Frame): if itemText == self.overviewText: self.LoadDemoSource('Main.py') self.SetOverview(self.overviewText, overview) - self.nb.Refresh(); +## self.nb.Refresh(); self.window = None else: @@ -703,14 +703,14 @@ class wxPythonDemo(wx.Frame): self.tree.Refresh() # in case runTest is modal, make sure things look right... - self.nb.Refresh(); - wx.SafeYield() +## self.nb.Refresh(); +## wx.SafeYield() self.window = module.runTest(self, self.nb, self) ### if self.window is not None: self.nb.AddPage(self.window, 'Demo') self.nb.SetSelection(2) - self.nb.Refresh() # without this wxMac has troubles showing the just added page +## self.nb.Refresh() # without this wxMac has troubles showing the just added page else: self.ovr.SetPage("") @@ -931,7 +931,7 @@ def main(): os.chdir(demoPath) except: pass - app = MyApp(wx.Platform == "__WXMAC__") + app = MyApp(0) ##wx.Platform == "__WXMAC__") app.MainLoop()