Sorry, that SetClientSize change was wrong, since sizers are working in

whole-window coordinates. Reverted.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15098 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Julian Smart
2002-04-11 18:43:25 +00:00
parent 0ea621cc25
commit 77424cfbdd

View File

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