+ return false;
+}
+
+bool wxMDIChildFrame::HandleGetMinMaxInfo(void *mmInfo)
+{
+ MINMAXINFO *info = (MINMAXINFO *)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) != 0;
+
+ int minWidth = GetMinWidth(),
+ minHeight = GetMinHeight();
+
+ // but allow GetSizeHints() to set the min size
+ if ( minWidth != wxDefaultCoord )
+ {
+ info->ptMinTrackSize.x = minWidth;
+
+ processed = true;
+ }
+
+ if ( minHeight != wxDefaultCoord )
+ {
+ info->ptMinTrackSize.y = minHeight;
+
+ processed = true;
+ }
+
+ return processed;