Throbber fixes, other tweaks to the demo

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18198 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn
2002-12-12 06:14:56 +00:00
parent a8e8c0adf2
commit 245f9233fc
4 changed files with 9 additions and 3 deletions

View File

@@ -448,6 +448,7 @@ class wxPythonDemo(wxFrame):
if self.nb.GetPageCount() == 3:
if self.nb.GetSelection() == 2:
self.nb.SetSelection(0)
wxSafeYield() # in case the page has pending events
self.nb.DeletePage(2)
if itemText == self.overviewText: