bug fixed for mdi parent frames
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43084 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -3465,6 +3465,17 @@ void wxAuiManager::OnSize(wxSizeEvent& event)
|
|||||||
{
|
{
|
||||||
DoFrameLayout();
|
DoFrameLayout();
|
||||||
Repaint();
|
Repaint();
|
||||||
|
|
||||||
|
#if wxUSE_MDI
|
||||||
|
if (m_frame->IsKindOf(CLASSINFO(wxMDIParentFrame)))
|
||||||
|
{
|
||||||
|
// for MDI parent frames, this event must not
|
||||||
|
// be "skipped". In other words, the parent frame
|
||||||
|
// must not be allowed to resize the client window
|
||||||
|
// after we are finished processing sizing changes
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
event.Skip();
|
event.Skip();
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user