+ wxSize szAvail; // Keep track of boundary so we don't overflow
+ if ( m_dirInform == m_orient )
+ szAvail = SizeFromMajorMinor(m_availSize, m_availableOtherDir);
+ else
+ szAvail = SizeFromMajorMinor(m_availableOtherDir, m_availSize);
+
+ CalcMinFittingSize(szAvail);