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,6 +688,7 @@ class MultiSplitterWindow(wx.PyPanel):
self._windows[0].SetDimensions(border, border, self._windows[0].SetDimensions(border, border,
cw - 2*border, ch - 2*border) cw - 2*border, ch - 2*border)
else: else:
if 'wxMSW' in wx.PlatformInfo:
for win in self._windows: for win in self._windows:
win.Freeze() win.Freeze()
if self._orient == wx.HORIZONTAL: if self._orient == wx.HORIZONTAL:
@@ -712,6 +713,7 @@ class MultiSplitterWindow(wx.PyPanel):
self._windows[idx+1].SetDimensions(x, y, w, last) self._windows[idx+1].SetDimensions(x, y, w, last)
if last > 0: if last > 0:
self._sashes[idx+1] = last self._sashes[idx+1] = last
if 'wxMSW' in wx.PlatformInfo:
for win in self._windows: for win in self._windows:
win.Thaw() win.Thaw()