]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/wx/lib/splitter.py
fixed status bar positioning to work both with and without sizers (patch 1199639...
[wxWidgets.git] / 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:
-                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