From: Vadim Zeitlin Date: Tue, 25 Feb 2003 16:12:42 +0000 (+0000) Subject: fixed typo in he check in SetSizeHints() X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/77b0d411e300b1e9bb249df3139917d31fa58de0 fixed typo in he check in SetSizeHints() git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19311 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/common/wincmn.cpp b/src/common/wincmn.cpp index 2d41293237..97d0c8090c 100644 --- a/src/common/wincmn.cpp +++ b/src/common/wincmn.cpp @@ -618,7 +618,7 @@ void wxWindowBase::SetSizeHints(int minW, int minH, // setting min width greater than max width leads to infinite loops under // X11 and generally doesn't make any sense, so don't allow it wxCHECK_RET( (minW == -1 || maxW == -1 || minW <= maxW) && - (minH == -1 || maxH == -1 || minH < maxH), + (minH == -1 || maxH == -1 || minH <= maxH), _T("min width/height must be less than max width/height!") ); m_minWidth = minW;