X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/2268569346a39bcff9b7ba734f85652a7bf4c2d9..0a5bb138a71dfc1c706fc0858fb2801500e2c2e8:/wxPython/wx/lib/multisash.py diff --git a/wxPython/wx/lib/multisash.py b/wxPython/wx/lib/multisash.py index fbf7217816..6be5e730aa 100644 --- a/wxPython/wx/lib/multisash.py +++ b/wxPython/wx/lib/multisash.py @@ -366,12 +366,17 @@ class MultiViewLeaf(wx.Window): return self.GetParent().CanSize(side,self) def OnSize(self,evt): - self.sizerHor.OnSize(evt) - self.sizerVer.OnSize(evt) - self.creatorHor.OnSize(evt) - self.creatorVer.OnSize(evt) - self.detail.OnSize(evt) - self.closer.OnSize(evt) + def doresize(): + try: + self.sizerHor.OnSize(evt) + self.sizerVer.OnSize(evt) + self.creatorHor.OnSize(evt) + self.creatorVer.OnSize(evt) + self.detail.OnSize(evt) + self.closer.OnSize(evt) + except: + pass + wx.CallAfter(doresize) #----------------------------------------------------------------------