SendSizeEvent() method moved from wxWindow to wxFrame, as that is the only place that the code in this function applies to.

Fixed problems with MDI children being changed from min/max/restored in SetSizeEvent()


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9624 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
George Tasker
2001-03-31 18:46:15 +00:00
parent 3cfcd50b7d
commit 67bd5bad04
2 changed files with 23 additions and 0 deletions

View File

@@ -3163,6 +3163,7 @@ bool wxWindow::HandleGetMinMaxInfo(void *mmInfo)
}
// generate an artificial resize event
/* FUNCTION IS NOW A MEMBER OF wxFrame - gt
void wxWindow::SendSizeEvent()
{
RECT r;
@@ -3178,6 +3179,7 @@ void wxWindow::SendSizeEvent()
(void)::PostMessage(GetHwnd(), WM_SIZE, SIZE_RESTORED,
MAKELPARAM(r.right - r.left, r.bottom - r.top));
}
*/
// ---------------------------------------------------------------------------
// command messages