undid the last change
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23315 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -566,7 +566,7 @@ wxSize wxSizer::Fit( wxWindow *window )
|
|||||||
wxSize size(window->IsTopLevel() ? FitSize(window)
|
wxSize size(window->IsTopLevel() ? FitSize(window)
|
||||||
: GetMinWindowSize(window));
|
: GetMinWindowSize(window));
|
||||||
|
|
||||||
window->SetClientSize( size );
|
window->SetSize( size );
|
||||||
|
|
||||||
return size;
|
return size;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user