Fixed DoSetClientSize() causing infinite recursion.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1750 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Karsten Ballüder 1999-02-22 14:50:16 +00:00
parent 2de8030dbe
commit f76f940bce
2 changed files with 2 additions and 2 deletions

View File

@ -361,7 +361,7 @@ void wxFrame::DoSetClientSize( int width, int height )
m_frameToolBar->GetSize( (int *) NULL, &y );
h += y;
}
wxWindow::SetClientSize( width + m_miniEdge*2, h + m_miniEdge*2 + m_miniTitle );
wxWindow::DoSetClientSize( width + m_miniEdge*2, h + m_miniEdge*2 + m_miniTitle );
}
void wxFrame::GtkOnSize( int WXUNUSED(x), int WXUNUSED(y), int width, int height )

View File

@ -361,7 +361,7 @@ void wxFrame::DoSetClientSize( int width, int height )
m_frameToolBar->GetSize( (int *) NULL, &y );
h += y;
}
wxWindow::SetClientSize( width + m_miniEdge*2, h + m_miniEdge*2 + m_miniTitle );
wxWindow::DoSetClientSize( width + m_miniEdge*2, h + m_miniEdge*2 + m_miniTitle );
}
void wxFrame::GtkOnSize( int WXUNUSED(x), int WXUNUSED(y), int width, int height )