m_firstY = 0;
m_sashPosition = m_requestedSashPosition = 0;
m_sashGravity = 0.0;
- m_lastSize = wxSize();
+ m_lastSize = wxSize(0,0);
m_checkRequestedSashPosition = false;
m_minimumPaneSize = 0;
m_sashCursorWE = wxCursor(wxCURSOR_SIZEWE);
if ( iconized )
{
- m_lastSize = wxSize();
+ m_lastSize = wxSize(0,0);
event.Skip();
// get best sizes of subwindows
wxSize size1, size2;
if ( m_windowOne )
- size1 = m_windowOne->GetBestSize();
+ size1 = m_windowOne->GetAdjustedBestSize();
if ( m_windowTwo )
- size2 = m_windowTwo->GetBestSize();
+ size2 = m_windowTwo->GetAdjustedBestSize();
// sum them
//