warning fix

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10602 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin 2001-06-16 22:57:20 +00:00
parent e697316793
commit d9f9aa2d8f

View File

@ -1045,7 +1045,7 @@ bool wxMDIChildFrame::HandleGetMinMaxInfo(void *mmInfo)
// let the default window proc calculate the size of MDI children // let the default window proc calculate the size of MDI children
// frames because it is based on the size of the MDI client window, // frames because it is based on the size of the MDI client window,
// not on the values specified in wxWindow m_max variables // not on the values specified in wxWindow m_max variables
bool processed = MSWDefWindowProc(WM_GETMINMAXINFO, 0, (LPARAM)mmInfo); bool processed = MSWDefWindowProc(WM_GETMINMAXINFO, 0, (LPARAM)mmInfo) != 0;
// but allow GetSizeHints() to set the min size // but allow GetSizeHints() to set the min size
if ( m_minWidth != -1 ) if ( m_minWidth != -1 )