]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/demo/Main.py
Removed the old patch files for swig
[wxWidgets.git] / wxPython / demo / Main.py
index 89372d40b9120d9ef6ef04a5c4fe88074d5b62a2..2ed0c47631d702fe17003f4264b43e9c0b73ecb4 100644 (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("")