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:
@@ -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
|
||||
|
Reference in New Issue
Block a user