X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/3ebcfb769f52c756018de75dacf3218ff60a8768..65fa237423b734a06492b25b31fc0881c8c5229b:/src/msw/mdi.cpp diff --git a/src/msw/mdi.cpp b/src/msw/mdi.cpp index a8c09a6952..4bbb448e10 100644 --- a/src/msw/mdi.cpp +++ b/src/msw/mdi.cpp @@ -1045,7 +1045,7 @@ bool wxMDIChildFrame::HandleGetMinMaxInfo(void *mmInfo) // let the default window proc calculate the size of MDI children // frames because it is based on the size of the MDI client window, // 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 if ( m_minWidth != -1 )