A few little tweaks

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15586 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn
2002-05-17 06:01:44 +00:00
parent 70b76c7ccd
commit 5a1eefc73b
2 changed files with 4 additions and 4 deletions

View File

@@ -450,15 +450,15 @@ class wxPythonDemo(wxFrame):
self.SetOverview(itemText + " Overview", module.overview)
finally:
wxEndBusyCursor()
self.tree.Refresh()
# in case runTest is modal, make sure things look right...
self.nb.Refresh();
wxYield()
wxSafeYield()
self.window = module.runTest(self, self.nb, self) ###
if self.window:
self.nb.AddPage(self.window, 'Demo')
#wxYield() TODO: Is this still needed?
self.nb.SetSelection(2)
self.nb.Refresh() # without this wxMac has troubles showing the just added page