X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/31d7fc0f9cb3f5913ecd4a039a816487a6753a93..ae177b45b258b4985ee8c9ce7848bcb4f1266f80:/src/os2/control.cpp diff --git a/src/os2/control.cpp b/src/os2/control.cpp index f390b9c38b..df264fae88 100644 --- a/src/os2/control.cpp +++ b/src/os2/control.cpp @@ -108,7 +108,7 @@ bool wxControl::OS2CreateControl( (void) OS2GetStyle(GetWindowStyle(), &dwExstyle); } // - // All controls should have these styles (wxWindows creates all controls + // All controls should have these styles (wxWidgets creates all controls // visible by default) // if (m_isShown ) @@ -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