wxSizer::Fit calls SetClientSize, not SetSize. This fixes the tool window

in the Life demo.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15088 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Julian Smart
2002-04-11 09:11:59 +00:00
parent 938aa9c461
commit 247cdef5df

View File

@@ -408,7 +408,7 @@ void wxSizer::Fit( wxWindow *window )
else
size = GetMinWindowSize( window );
window->SetSize( size );
window->SetClientSize( size );
}
void wxSizer::Layout()