it does what expected)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@917
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
if ( m_splitMode == wxSPLIT_VERTICAL )
{
if ( m_splitMode == wxSPLIT_VERTICAL )
{
- if ( h - newSashPosition < m_minimumPaneSize )
+ if ( w - newSashPosition < m_minimumPaneSize )
return FALSE;
}
else // m_splitMode = wxSPLIT_HORIZONTAL
{
return FALSE;
}
else // m_splitMode = wxSPLIT_HORIZONTAL
{
- if ( w - newSashPosition < m_minimumPaneSize )
+ if ( h - newSashPosition < m_minimumPaneSize )