#include "wx/settings.h"
#endif
+#ifdef __WXMAC__
+ #include "wx/mac/private.h"
+#endif
+
#include "wx/renderer.h"
#include "wx/splitter.h"
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;
}