X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/5a7823f5999fdcaec5b43d18c6a5f299654e5492..ce89fdd22ecbaf29569e70733d76c8f1eaca391e:/utils/wxPython/demo/Main.py diff --git a/utils/wxPython/demo/Main.py b/utils/wxPython/demo/Main.py index 56cc784729..393b7a0bc5 100644 --- a/utils/wxPython/demo/Main.py +++ b/utils/wxPython/demo/Main.py @@ -243,9 +243,11 @@ class wxPythonDemo(wxFrame): else: if os.path.exists(itemText + '.py'): + wxBeginBusyCursor() self.GetDemoFile(itemText + '.py') module = __import__(itemText, globals()) self.SetOverview(itemText, module.overview) + wxEndBusyCursor() # in case runTest is modal, make sure things look right... self.nb.Refresh(); @@ -256,7 +258,7 @@ class wxPythonDemo(wxFrame): self.nb.AddPage(self.window, 'Demo') #self.nb.ResizeChildren() self.nb.SetSelection(2) - self.nb.ResizeChildren() + #self.nb.ResizeChildren() #if self.window.GetAutoLayout(): # self.window.Layout()