Take the inverted coordinate system into account in wxFindMaxSize.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27069 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Stefan Neis 2004-05-02 17:12:25 +00:00
parent a00ffdf1c6
commit 09990d5a4f

View File

@ -284,10 +284,10 @@ void wxFindMaxSize(
if (nRight > pRect->xRight)
pRect->xRight = nRight;
if (nTop < pRect->yTop)
if (nTop > pRect->yTop)
pRect->yTop = nTop;
if (nBottom > pRect->yBottom)
if (nBottom < pRect->yBottom)
pRect->yBottom = nBottom;
} // end of wxFindMaxSize