X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/9c5c87674aa61beca49b2fe887f2e116cf350e67..09dfa6a0096cb350b1096d8e83fa34e62a80acf0:/wxPython/wx/lib/splitter.py diff --git a/wxPython/wx/lib/splitter.py b/wxPython/wx/lib/splitter.py index 6a819a41ac..c5e2e85f55 100644 --- a/wxPython/wx/lib/splitter.py +++ b/wxPython/wx/lib/splitter.py @@ -240,14 +240,14 @@ class MultiSplitterWindow(wx.PyPanel): sashsize = self._GetSashSize() if self._orient == wx.HORIZONTAL: for win in self._windows: - winbest = win.GetAdjustedBestSize() + winbest = win.GetEffectiveMinSize() best.width += max(self._minimumPaneSize, winbest.width) best.height = max(best.height, winbest.height) best.width += sashsize * (len(self._windows)-1) else: for win in self._windows: - winbest = win.GetAdjustedBestSize() + winbest = win.GetEffectiveMinSize() best.height += max(self._minimumPaneSize, winbest.height) best.width = max(best.width, winbest.width) best.height += sashsize * (len(self._windows)-1)