X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/88d139d2f516e6c8b69e5d5177b01d9a3c7669c6..9e03e02d0ca493bc65f083600f1427d2ac8028ff:/wxPython/wx/lib/splitter.py diff --git a/wxPython/wx/lib/splitter.py b/wxPython/wx/lib/splitter.py index 7f7756ba7f..48ace5489f 100644 --- a/wxPython/wx/lib/splitter.py +++ b/wxPython/wx/lib/splitter.py @@ -689,8 +689,7 @@ class MultiSplitterWindow(wx.PyPanel): cw - 2*border, ch - 2*border) else: if 'wxMSW' in wx.PlatformInfo: - for win in self._windows: - win.Freeze() + self.Freeze() if self._orient == wx.HORIZONTAL: x = y = border h = ch - 2*border @@ -714,8 +713,7 @@ class MultiSplitterWindow(wx.PyPanel): if last > 0: self._sashes[idx+1] = last if 'wxMSW' in wx.PlatformInfo: - for win in self._windows: - win.Thaw() + self.Thaw() self._DrawSash(wx.ClientDC(self)) self._needUpdating = False