From: Robin Dunn Date: Sat, 11 Jun 2005 22:58:14 +0000 (+0000) Subject: Only freeze the splitter, the children will be automatically frozen too. X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/94211100ea69f8ff83942386467a47889a9a9c9d Only freeze the splitter, the children will be automatically frozen too. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34637 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- 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