Must have event.Skip() in OnSize for wxUniv

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25148 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Julian Smart
2004-01-13 13:32:07 +00:00
parent 59455c67d4
commit 83ae4c616c
2 changed files with 4 additions and 2 deletions

View File

@@ -141,10 +141,11 @@ void csFrame::OnCloseWindow(wxCloseEvent& event)
wxDocMDIParentFrame::OnCloseWindow(event);
}
void csFrame::OnSize(wxSizeEvent& WXUNUSED(event))
void csFrame::OnSize(wxSizeEvent& event)
{
wxLayoutAlgorithm layout;
layout.LayoutMDIFrame(this);
event.Skip();
}
// Make sure the correct toolbars are showing for the active view