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:
@@ -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("")
|
||||
|
Reference in New Issue
Block a user