X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/247cdef5df07448be1137dd48c0f16fe4519d042..5d91e653c5f2683eb21485d6b5c1e5f286ab5e11:/src/common/sizer.cpp diff --git a/src/common/sizer.cpp b/src/common/sizer.cpp index ce8405973c..f20410f51d 100644 --- a/src/common/sizer.cpp +++ b/src/common/sizer.cpp @@ -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()