]> git.saurik.com Git - wxWidgets.git/commitdiff
Only Freeze/Thaw on wxMSW. The other ports don't need it.
authorRobin Dunn <robin@alldunn.com>
Sat, 11 Jun 2005 19:43:15 +0000 (19:43 +0000)
committerRobin Dunn <robin@alldunn.com>
Sat, 11 Jun 2005 19:43:15 +0000 (19:43 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34635 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

wxPython/wx/lib/splitter.py

index 2930cbab21b60918b2cfd55d01d6d80234d30979..a0d7bfb0f754d4b074be41a44214cdf35e0335cd 100644 (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