swigged updates for wxMac

fix for wxMac refresh problem in the demo


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15313 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn
2002-04-30 02:49:37 +00:00
parent 8381e4cdd3
commit eb28fd4762
21 changed files with 1090 additions and 327 deletions

View File

@@ -524,8 +524,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("")