Only Freeze/Thaw on wxMSW. The other ports don't need it.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34635 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn 2005-06-11 19:43:15 +00:00
parent 0263d0bb05
commit 3a9604b42b

View File

@ -688,8 +688,9 @@ class MultiSplitterWindow(wx.PyPanel):
self._windows[0].SetDimensions(border, border,
cw - 2*border, ch - 2*border)
else:
for win in self._windows:
win.Freeze()
if 'wxMSW' in wx.PlatformInfo:
for win in self._windows:
win.Freeze()
if self._orient == wx.HORIZONTAL:
x = y = border
h = ch - 2*border
@ -712,8 +713,9 @@ class MultiSplitterWindow(wx.PyPanel):
self._windows[idx+1].SetDimensions(x, y, w, last)
if last > 0:
self._sashes[idx+1] = last
for win in self._windows:
win.Thaw()
if 'wxMSW' in wx.PlatformInfo:
for win in self._windows:
win.Thaw()
self._DrawSash(wx.ClientDC(self))
self._needUpdating = False