make wxWindow::SetAutoLayout() now works for all windows, not just panels

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60722 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2009-05-23 11:26:58 +00:00
parent 112d941fe1
commit 6528a7f145
7 changed files with 28 additions and 55 deletions

View File

@@ -1103,9 +1103,10 @@ void wxHtmlWindow::OnPaint(wxPaintEvent& WXUNUSED(event))
void wxHtmlWindow::OnSize(wxSizeEvent& event)
{
event.Skip();
wxDELETE(m_backBuffer);
wxScrolledWindow::OnSize(event);
CreateLayout();
// Recompute selection if necessary: