extracted OnSize() body in a new DoLayout() method so that it can be called from wxFrame::SetXXXBar()

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29579 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2004-10-01 01:46:14 +00:00
parent 6ad75f5393
commit 5e62d4a5c7
2 changed files with 6 additions and 2 deletions

View File

@@ -187,7 +187,7 @@ void wxTopLevelWindowBase::DoClientToScreen(int *x, int *y) const
// default resizing behaviour - if only ONE subwindow, resize to fill the
// whole client area
void wxTopLevelWindowBase::OnSize(wxSizeEvent& WXUNUSED(event))
void wxTopLevelWindowBase::DoLayout()
{
// if we're using constraints or sizers - do use them
if ( GetAutoLayout() )