X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/247cdef5df07448be1137dd48c0f16fe4519d042..70914290a18a1c95c16ff5148d53f3dea52d2940:/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()