]> git.saurik.com Git - wxWidgets.git/commitdiff
Only freeze the splitter, the children will be automatically frozen too.
authorRobin Dunn <robin@alldunn.com>
Sat, 11 Jun 2005 22:58:14 +0000 (22:58 +0000)
committerRobin Dunn <robin@alldunn.com>
Sat, 11 Jun 2005 22:58:14 +0000 (22:58 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34637 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

wxPython/wx/lib/splitter.py

index 7f7756ba7f3d443fb26811dfc267b51399c8db7c..48ace5489fa6216d84e4eeb20245480e1b46ead5 100644 (file)
@@ -689,8 +689,7 @@ class MultiSplitterWindow(wx.PyPanel):
                                            cw - 2*border, ch - 2*border)
         else:
             if 'wxMSW' in wx.PlatformInfo:
                                            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
             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:
                 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
                 
         self._DrawSash(wx.ClientDC(self))
         self._needUpdating = False