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:
Benjamin Williams
2006-11-05 20:22:49 +00:00
parent 74b357ddde
commit 473016d68c

View File

@@ -3465,6 +3465,17 @@ void wxAuiManager::OnSize(wxSizeEvent& event)
{
DoFrameLayout();
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();
}