From 09990d5a4f70a87b81bfb8e23f94357e7d171c9f Mon Sep 17 00:00:00 2001 From: Stefan Neis Date: Sun, 2 May 2004 17:12:25 +0000 Subject: [PATCH] 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 --- src/os2/control.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/os2/control.cpp b/src/os2/control.cpp index f390b9c38b..c9354af222 100644 --- a/src/os2/control.cpp +++ b/src/os2/control.cpp @@ -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 -- 2.45.2