A change similar to that in Bug #837902 to correct minsize calc for
window2 git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29158 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -567,7 +567,7 @@ int wxSplitterWindow::AdjustSashPosition(int sashPos) const
|
||||
if ( minSize == -1 || m_minimumPaneSize > minSize )
|
||||
minSize = m_minimumPaneSize;
|
||||
|
||||
int maxSize = window_size - minSize - GetBorderSize();
|
||||
int maxSize = window_size - minSize - GetBorderSize() - GetSashSize();
|
||||
if ( sashPos > maxSize )
|
||||
sashPos = maxSize;
|
||||
}
|
||||
|
Reference in New Issue
Block a user