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
This commit is contained in:
parent
88d139d2f5
commit
94211100ea
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user